Package org.apache.sis.io.wkt
Enum Class KeywordCase
- All Implemented Interfaces:
- Serializable,- Comparable<KeywordCase>,- Constable
Whether WKT keywords shall be written with lower, upper or camel case styles.
 The most common usage for WKT keywords is upper case.
 However, with version 2 of Well Known Text, camel case keywords may be easier to read
 because WKT 2 has more keywords made by combination of words. Examples:
 
   
 
| Upper case | Camel case | 
|---|---|
| TIMEEXTENT | TimeExtent | 
| ANGLEUNIT | AngleUnit | 
| BASEGEODCRS | BaseGeodCRS | 
| DERIVINGCONVERSION | DerivingConversion | 
| ENGINEERINGDATUM | EngineeringDatum | 
Note:
 Well-Known Text keywords are case insensitive at parsing time. 
KEYWORD is equivalent to
 keyword is equivalent to KeyWord and to kEYwORd.- Since:
- 0.4
Defined in the sis-referencing module
- 
Nested Class SummaryNested classes/interfaces inherited from class EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionWKT formatting uses CamelCase keywords.Keywords case is determined by the WKT convention.WKT formatting uses lower case keywords.WKT formatting uses upper case keywords.
- 
Method SummaryModifier and TypeMethodDescriptionstatic KeywordCaseReturns the enum constant of this class with the specified name.static KeywordCase[]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- 
LOWER_CASEWKT formatting uses lower case keywords.
- 
UPPER_CASEWKT formatting uses upper case keywords. This is the most usual case in WKT 1 strings.
- 
CAMEL_CASEWKT formatting uses CamelCase keywords. This is more useful in WKT 2 strings, which use longer keywords than WKT 1 did. Examples:"TimeExtent","AngleUnit".
- 
DEFAULTKeywords case is determined by the WKT convention. The current mapping is:- Well Known Text version 2 uses camel case.
- Well Known Text version 1 uses upper case.
 
 
- 
- 
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
 
 
-