Package thredds.server.wfs
Enum WFSRequestType
- java.lang.Object
-
- java.lang.Enum<WFSRequestType>
-
- thredds.server.wfs.WFSRequestType
-
- All Implemented Interfaces:
Serializable,Comparable<WFSRequestType>
public enum WFSRequestType extends Enum<WFSRequestType>
Enum representing WFS Request Types as specified by the OGC.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DescribeFeatureTypeGetCapabilitiesGetFeature
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WFSRequestTypegetWFSRequestType(String request)Converts a string to a WFSRequestType if possible.inttoID()StringtoString()static WFSRequestTypevalueOf(String name)Returns the enum constant of this type with the specified name.static WFSRequestType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GetCapabilities
public static final WFSRequestType GetCapabilities
-
GetFeature
public static final WFSRequestType GetFeature
-
DescribeFeatureType
public static final WFSRequestType DescribeFeatureType
-
-
Method Detail
-
values
public static WFSRequestType[] 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 (WFSRequestType c : WFSRequestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WFSRequestType 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<WFSRequestType>
-
toID
public int toID()
-
getWFSRequestType
public static WFSRequestType getWFSRequestType(String request)
Converts a string to a WFSRequestType if possible.- Parameters:
request- value- Returns:
- the string as a WFSRequestType if possible.
-
-