Package org.n52.shetland.ogc.ows
Enum OWSConstants.CapabilitiesSection
- java.lang.Object
-
- java.lang.Enum<OWSConstants.CapabilitiesSection>
-
- org.n52.shetland.ogc.ows.OWSConstants.CapabilitiesSection
-
- All Implemented Interfaces:
Serializable,Comparable<OWSConstants.CapabilitiesSection>
- Enclosing interface:
- OWSConstants
public static enum OWSConstants.CapabilitiesSection extends Enum<OWSConstants.CapabilitiesSection>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AllContentsLanguagesOperationsMetadataServiceIdentificationServiceProvider
-
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.CapabilitiesSection>from(String string)Get the corresponding enum constant for the supplied string representation.static OWSConstants.CapabilitiesSectionvalueOf(String name)Returns the enum constant of this type with the specified name.static OWSConstants.CapabilitiesSection[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
All
public static final OWSConstants.CapabilitiesSection All
-
ServiceProvider
public static final OWSConstants.CapabilitiesSection ServiceProvider
-
ServiceIdentification
public static final OWSConstants.CapabilitiesSection ServiceIdentification
-
OperationsMetadata
public static final OWSConstants.CapabilitiesSection OperationsMetadata
-
Languages
public static final OWSConstants.CapabilitiesSection Languages
-
Contents
public static final OWSConstants.CapabilitiesSection Contents
-
-
Method Detail
-
values
public static OWSConstants.CapabilitiesSection[] 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.CapabilitiesSection c : OWSConstants.CapabilitiesSection.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.CapabilitiesSection 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.CapabilitiesSection> from(String string)
Get the corresponding enum constant for the supplied string representation.- Parameters:
string- the string value- Returns:
- the enum constant
-
-