Package org.geotools.stac.client
Enum STACConformance
- Object
-
- Enum<STACConformance>
-
- STACConformance
-
- All Implemented Interfaces:
Serializable
,Comparable<STACConformance>
public enum STACConformance extends Enum<STACConformance>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLLECTIONS
CONTEXT
CORE
FEATURES
FIELDS
FILTER
ITEM_SEARCH
QUERY
SORT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(List<String> conformance)
Checks if this STAC conformance class is a match, ignoring details about the version such as beta/RC/minor version changes (as long as it's a 1.0.x)static STACConformance
valueOf(String name)
Returns the enum constant of this type with the specified name.static STACConformance[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CORE
public static final STACConformance CORE
-
COLLECTIONS
public static final STACConformance COLLECTIONS
-
FEATURES
public static final STACConformance FEATURES
-
ITEM_SEARCH
public static final STACConformance ITEM_SEARCH
-
CONTEXT
public static final STACConformance CONTEXT
-
FIELDS
public static final STACConformance FIELDS
-
SORT
public static final STACConformance SORT
-
QUERY
public static final STACConformance QUERY
-
FILTER
public static final STACConformance FILTER
-
-
Method Detail
-
values
public static STACConformance[] 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 (STACConformance c : STACConformance.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static STACConformance 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
-
-