Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.clients.exceptions
Enum HRInvalidProtocolException.ProtocolElement

java.lang.Object
  extended by java.lang.Enum<HRInvalidProtocolException.ProtocolElement>
      extended by com.esri.gpt.catalog.harvest.clients.exceptions.HRInvalidProtocolException.ProtocolElement
All Implemented Interfaces:
Serializable, Comparable<HRInvalidProtocolException.ProtocolElement>
Enclosing class:
HRInvalidProtocolException

public static enum HRInvalidProtocolException.ProtocolElement
extends Enum<HRInvalidProtocolException.ProtocolElement>

Protocol elements.


Enum Constant Summary
databaseName
          Database name (Z3950 only).
portNo
          Port number.
prefix
          Prefix (OAI only).
protocol
          protocol type
serviceName
          Service name (ArcIMS only).
set
          Set (OAI only).
sourceUri
          Source uri.
url
          Host url.
userName
          User name.
userPassword
          User password.
 
Method Summary
static HRInvalidProtocolException.ProtocolElement valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HRInvalidProtocolException.ProtocolElement[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

protocol

public static final HRInvalidProtocolException.ProtocolElement protocol
protocol type


url

public static final HRInvalidProtocolException.ProtocolElement url
Host url.


portNo

public static final HRInvalidProtocolException.ProtocolElement portNo
Port number.


sourceUri

public static final HRInvalidProtocolException.ProtocolElement sourceUri
Source uri.


userName

public static final HRInvalidProtocolException.ProtocolElement userName
User name.


userPassword

public static final HRInvalidProtocolException.ProtocolElement userPassword
User password.


serviceName

public static final HRInvalidProtocolException.ProtocolElement serviceName
Service name (ArcIMS only).


set

public static final HRInvalidProtocolException.ProtocolElement set
Set (OAI only).


prefix

public static final HRInvalidProtocolException.ProtocolElement prefix
Prefix (OAI only).


databaseName

public static final HRInvalidProtocolException.ProtocolElement databaseName
Database name (Z3950 only).

Method Detail

values

public static HRInvalidProtocolException.ProtocolElement[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (HRInvalidProtocolException.ProtocolElement c : HRInvalidProtocolException.ProtocolElement.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HRInvalidProtocolException.ProtocolElement valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.