org.fao.geonet.csw.common
Enum Csw.ResultType

java.lang.Object
  extended by java.lang.Enum<Csw.ResultType>
      extended by org.fao.geonet.csw.common.Csw.ResultType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Csw.ResultType>
Enclosing class:
Csw

public static enum Csw.ResultType
extends java.lang.Enum<Csw.ResultType>


Enum Constant Summary
HITS
           
RESULTS
           
VALIDATE
           
 
Method Summary
static Csw.ResultType parse(java.lang.String type)
           
 java.lang.String toString()
           
static Csw.ResultType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Csw.ResultType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HITS

public static final Csw.ResultType HITS

RESULTS

public static final Csw.ResultType RESULTS

VALIDATE

public static final Csw.ResultType VALIDATE
Method Detail

values

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

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

valueOf

public static Csw.ResultType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Csw.ResultType>

parse

public static Csw.ResultType parse(java.lang.String type)
                            throws InvalidParameterValueEx
Throws:
InvalidParameterValueEx