org.fao.geonet.csw.common
Enum Csw.TypeName
java.lang.Object
java.lang.Enum<Csw.TypeName>
org.fao.geonet.csw.common.Csw.TypeName
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Csw.TypeName>
- Enclosing class:
- Csw
public static enum Csw.TypeName
- extends java.lang.Enum<Csw.TypeName>
Method Summary |
static java.util.Set<Csw.TypeName> |
parse(java.lang.String typeNames)
|
java.lang.String |
toString()
|
static Csw.TypeName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Csw.TypeName[] |
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 |
DATASET
public static final Csw.TypeName DATASET
DATASET_COLLECTION
public static final Csw.TypeName DATASET_COLLECTION
SERVICE
public static final Csw.TypeName SERVICE
APPLICATION
public static final Csw.TypeName APPLICATION
values
public static final Csw.TypeName[] 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.TypeName c : Csw.TypeName.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.TypeName 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.TypeName>
parse
public static java.util.Set<Csw.TypeName> parse(java.lang.String typeNames)
throws InvalidParameterValueEx
- Throws:
InvalidParameterValueEx