Package nl.b3p.csw.util
Enum Protocol
- java.lang.Object
-
- java.lang.Enum<Protocol>
-
- nl.b3p.csw.util.Protocol
-
- All Implemented Interfaces:
Serializable,Comparable<Protocol>
public enum Protocol extends Enum<Protocol>
- Author:
- Erik van de Pol
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtocolfromValue(String n)StringgetName()static ProtocolvalueOf(String name)Returns the enum constant of this type with the specified name.static Protocol[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CSW
public static final Protocol CSW
-
WMS
public static final Protocol WMS
-
WFS
public static final Protocol WFS
-
WCS
public static final Protocol WCS
-
WCTS
public static final Protocol WCTS
-
WPS
public static final Protocol WPS
-
UKST
public static final Protocol UKST
-
WMC
public static final Protocol WMC
-
KML
public static final Protocol KML
-
GML
public static final Protocol GML
-
WFSG
public static final Protocol WFSG
-
SOS
public static final Protocol SOS
-
SPS
public static final Protocol SPS
-
SAS
public static final Protocol SAS
-
WNS
public static final Protocol WNS
-
ODS
public static final Protocol ODS
-
OGS
public static final Protocol OGS
-
OUS
public static final Protocol OUS
-
OPS
public static final Protocol OPS
-
ORS
public static final Protocol ORS
-
WEBSITE
public static final Protocol WEBSITE
-
DOWNLOAD
public static final Protocol DOWNLOAD
-
WMTS
public static final Protocol WMTS
-
-
Method Detail
-
values
public static Protocol[] 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 (Protocol c : Protocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Protocol 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 nameNullPointerException- if the argument is null
-
getName
public String getName()
-
-