Package org.apache.sis.io.wkt
Enum Class KeywordStyle
- All Implemented Interfaces:
- Serializable,- Comparable<KeywordStyle>,- Constable
Whether to use short or long WKT keywords.
 
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
Defined in the sis-referencing module
- 
Nested Class SummaryNested classes/interfaces inherited from class EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionKeywords style is determined by the WKT convention.Long keywords.Short keywords.
- 
Method SummaryModifier and TypeMethodDescriptionstatic KeywordStyleReturns 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 Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- 
Enum Constant Details- 
SHORTShort keywords.Examples:"GeodCRS","VertCRS","Unit".
- 
LONGLong keywords.Examples:"GeodeticCRS","VerticalCRS","AngleUnit".
- 
DEFAULTKeywords 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- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-