KeywordCase (Apache SIS 1.6 API) JavaScript is disabled on your browser.     Skip navigation links Overview Class Use Tree New Deprecated Index Search Help org.apache.sis.referencing org.apache.sis.io.wkt KeywordCase Contents  Description Nested Class Summary Enum Constant Summary Method Summary Enum Constant Details LOWER_CASE UPPER_CASE CAMEL_CASE DEFAULT Method Details values() valueOf(String) Hide sidebar  Show sidebar Enum Class KeywordCase Object Enum<KeywordCase> KeywordCase All Implemented Interfaces: Serializable, Comparable<Keyword­Case>, Constable public enum KeywordCase extends Enum<KeywordCase> 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: WKT element case comparisons Upper case Camel case TIMEEXTENT TimeExtent ANGLEUNIT AngleUnit BASEGEODCRS BaseGeodCRS DERIVINGCONVERSION DerivingConversion ENGINEERINGDATUM EngineeringDatum Well-Known Text keywords are case insensitive at parsing time. KEYWORD is equivalent to keyword is equivalent to Key­Word and to k­EYw­ORd. Since: 0.4 Nested Class Summary Nested classes/interfaces inherited from class Enum Enum​.Enum­Desc<E> Enum Constant Summary Enum Constants Enum Constant Description CAMEL_CASE WKT formatting uses CamelCase keywords. DEFAULT Keywords case is determined by the WKT convention. LOWER_CASE WKT formatting uses lower case keywords. UPPER_CASE WKT formatting uses upper case keywords. Method Summary All MethodsStatic MethodsConcrete Methods Modifier and Type Method Description static Keyword­Case value­Of(String name) Returns the enum constant of this class with the specified name. static Keyword­Case[] values() Returns an array containing the constants of this enum class, in the order they are declared. Methods inherited from class Enum clone, compare­To, describe­Constable, equals, finalize, get­Declaring­Class, hash­Code, name, ordinal, to­String, value­Of Methods inherited from class Object get­Class, notify, notify­All, wait, wait, wait Enum Constant Details LOWER_CASE public static final KeywordCase LOWER_CASE WKT formatting uses lower case keywords. UPPER_CASE public static final KeywordCase UPPER_CASE WKT formatting uses upper case keywords. This is the most usual case in WKT 1 strings. CAMEL_CASE public static final KeywordCase CAMEL_CASE WKT formatting uses CamelCase keywords. This is more useful in WKT 2 strings, which use longer keywords than WKT 1 did. Examples: "Time­Extent", "Angle­Unit". DEFAULT public static final KeywordCase DEFAULT Keywords 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 values public static KeywordCase[] 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 public static KeywordCase valueOf(String name) 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: Illegal­Argument­Exception - if this enum class has no constant with the specified name Null­Pointer­Exception - if the argument is null