Package org.n52.shetland.ogc.ows
Enum OWSConstants.RequestParams
- java.lang.Object
-
- java.lang.Enum<OWSConstants.RequestParams>
-
- org.n52.shetland.ogc.ows.OWSConstants.RequestParams
-
- All Implemented Interfaces:
Serializable,Comparable<OWSConstants.RequestParams>
- Enclosing interface:
- OWSConstants
public static enum OWSConstants.RequestParams extends Enum<OWSConstants.RequestParams>
enum with names of get request parameters for all requests
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancontains(String string)Check if the supplied string represents a constant of this enumeration.static Optional<OWSConstants.RequestParams>from(String string)Get the corresponding enum constant for the supplied string representation.static OWSConstants.RequestParamsvalueOf(String name)Returns the enum constant of this type with the specified name.static OWSConstants.RequestParams[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
request
public static final OWSConstants.RequestParams request
-
service
public static final OWSConstants.RequestParams service
-
version
public static final OWSConstants.RequestParams version
-
-
Method Detail
-
values
public static OWSConstants.RequestParams[] 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 (OWSConstants.RequestParams c : OWSConstants.RequestParams.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OWSConstants.RequestParams 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
-
contains
public static boolean contains(String string)
Check if the supplied string represents a constant of this enumeration.- Parameters:
string- the string value- Returns:
- wether or not the string represents an enum value
-
from
public static Optional<OWSConstants.RequestParams> from(String string)
Get the corresponding enum constant for the supplied string representation.- Parameters:
string- the string value- Returns:
- the enum constant
-
-