Package org.n52.shetland.ogc.ows
Enum OWSConstants.AdditionalRequestParams
- java.lang.Object
-
- java.lang.Enum<OWSConstants.AdditionalRequestParams>
-
- org.n52.shetland.ogc.ows.OWSConstants.AdditionalRequestParams
-
- All Implemented Interfaces:
Serializable,Comparable<OWSConstants.AdditionalRequestParams>
- Enclosing interface:
- OWSConstants
public static enum OWSConstants.AdditionalRequestParams extends Enum<OWSConstants.AdditionalRequestParams>
enum with names of get request parameters for all requests
-
-
Enum Constant Summary
Enum Constants Enum Constant Description crslanguagereturnHumanReadableIdentifier
-
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.AdditionalRequestParams>from(String string)Get the corresponding enum constant for the supplied string representation.static OWSConstants.AdditionalRequestParamsvalueOf(String name)Returns the enum constant of this type with the specified name.static OWSConstants.AdditionalRequestParams[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
language
public static final OWSConstants.AdditionalRequestParams language
-
crs
public static final OWSConstants.AdditionalRequestParams crs
-
returnHumanReadableIdentifier
public static final OWSConstants.AdditionalRequestParams returnHumanReadableIdentifier
-
-
Method Detail
-
values
public static OWSConstants.AdditionalRequestParams[] 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.AdditionalRequestParams c : OWSConstants.AdditionalRequestParams.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.AdditionalRequestParams 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.AdditionalRequestParams> from(String string)
Get the corresponding enum constant for the supplied string representation.- Parameters:
string- the string value- Returns:
- the enum constant
-
-