- All Implemented Interfaces:
Serializable
,Comparable<KeywordStyle>
,Constable
Whether to use short or long WKT keywords.
Usage note
ISO 19162 recommends upper case short keywords, but camel case long keywords match more closely the programmatic interface names (e.g.GeodeticCRS
, etc).- Since:
- 0.6
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionKeywords style is determined by the WKT convention.Long keywords.Short keywords. -
Method Summary
Modifier and TypeMethodDescriptionstatic KeywordStyle
Returns the enum constant of this class with the specified name.static KeywordStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SHORT
Short keywords. Examples:"GeodCRS"
,"VertCRS"
,"Unit"
. -
LONG
Long keywords. Examples:"GeodeticCRS"
,"VerticalCRS"
,"AngleUnit"
. -
DEFAULT
Keywords style is determined by the WKT convention. Examples:- For
Convention.WKT2
:"GeodCRS"
,"VertCRS"
,"AngleUnit"
(keywords matching the ISO 19162 recommendations). - For
Convention.WKT2_SIMPLIFIED
:"GeodeticCRS"
,"VerticalCRS"
,"Unit"
(keywords matching the class or interface names).
- For
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-