Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.protocols
Enum HarvestProtocol.ProtocolType

java.lang.Object
  extended by java.lang.Enum<HarvestProtocol.ProtocolType>
      extended by com.esri.gpt.catalog.harvest.protocols.HarvestProtocol.ProtocolType
All Implemented Interfaces:
Serializable, Comparable<HarvestProtocol.ProtocolType>
Enclosing class:
HarvestProtocol

public static enum HarvestProtocol.ProtocolType
extends Enum<HarvestProtocol.ProtocolType>

Protocol type.


Enum Constant Summary
ArcIms
          ESRI Metadata Services
CSW
          CSW
None
          No protocol defined.
OAI
          OAI
RES
          Resource
WAF
          WAF
 
Method Summary
static HarvestProtocol.ProtocolType checkValueOf(String name)
          Checks type.
 String getId()
          Gets id of the protocol.
static HarvestProtocol.ProtocolType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HarvestProtocol.ProtocolType[] 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

None

public static final HarvestProtocol.ProtocolType None
No protocol defined.


ArcIms

public static final HarvestProtocol.ProtocolType ArcIms
ESRI Metadata Services


OAI

public static final HarvestProtocol.ProtocolType OAI
OAI


WAF

public static final HarvestProtocol.ProtocolType WAF
WAF


CSW

public static final HarvestProtocol.ProtocolType CSW
CSW


RES

public static final HarvestProtocol.ProtocolType RES
Resource

Method Detail

values

public static HarvestProtocol.ProtocolType[] 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 (HarvestProtocol.ProtocolType c : HarvestProtocol.ProtocolType.values())
    System.out.println(c);

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

valueOf

public static HarvestProtocol.ProtocolType 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

getId

public String getId()
Gets id of the protocol.

Returns:
id of the protocol

checkValueOf

public static HarvestProtocol.ProtocolType checkValueOf(String name)
Checks type.

Parameters:
name - type name
Returns:
type or Type.None if type unrecognized

Esri Geoportal Server
1.0

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