public enum RequirementClass extends Enum<RequirementClass>
Enum Constant and Description |
---|
CORE |
CRS |
GEOJSON |
GMLSF0 |
GMLSF2 |
HTML |
OPENAPI30 |
Modifier and Type | Method and Description |
---|---|
static RequirementClass |
byConformanceClass(String conformanceClass) |
String |
getMediaTypeFeaturesAndCollections() |
String |
getMediaTypeOtherResources() |
boolean |
hasMediaTypeForFeaturesAndCollections() |
boolean |
hasMediaTypeForOtherResources() |
static RequirementClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequirementClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequirementClass CORE
public static final RequirementClass HTML
public static final RequirementClass GEOJSON
public static final RequirementClass GMLSF0
public static final RequirementClass GMLSF2
public static final RequirementClass OPENAPI30
public static final RequirementClass CRS
public static RequirementClass[] values()
for (RequirementClass c : RequirementClass.values()) System.out.println(c);
public static RequirementClass valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean hasMediaTypeForFeaturesAndCollections()
true
if the RequirementClass has a media type for features and collections,
true
otherwisepublic String getMediaTypeFeaturesAndCollections()
null
if not availablepublic boolean hasMediaTypeForOtherResources()
true
if the RequirementClass has a media type for other resources,
true
otherwisepublic String getMediaTypeOtherResources()
null
if not availablepublic static RequirementClass byConformanceClass(String conformanceClass)
conformanceClass
- the conformance class of the RequirementClass to return.null
if RequirementClass existsCopyright © 2024 Open Geospatial Consortium. All rights reserved.