Package org.apache.sis.io.wkt
Enum Class ElementKind
- All Implemented Interfaces:
- Serializable,- Comparable<ElementKind>,- Constable
Kind of an element in a Well Known Text.
 Different kinds of elements can be associated to different colors.
- 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 ConstantDescriptionCoordinate system axes, often represented byAXIS[…]elements.Citation (typically for the authority), often represented byCITATION[…]elements.Code list values.Datum, often represented byDATUM[…]elements.Unformattable elements.Object identifier, typically written almost last just before remarks.Integer numbers.Operation methods, often represented byPROJECTION[…]elements.Object name, typically written immediately after the WKT keyword and its opening bracket.Floating point numbers (excluding integer types).Name of parameters, often represented byPARAMETER[…]elements.Remarks, often represented byREMARKS[…]elements.CRS, datum or operation scope, often represented bySCOPE[…]elements.Units of measurement, often represented byUNIT[…]elements.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ElementKindReturns the element kind for an object of the given type.static ElementKindReturns the enum constant of this class with the specified name.static ElementKind[]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- 
NAMEObject name, typically written immediately after the WKT keyword and its opening bracket.
- 
IDENTIFIERObject identifier, typically written almost last just before remarks.
- 
NUMBERFloating point numbers (excluding integer types).
- 
INTEGERInteger numbers.
- 
UNITUnits of measurement, often represented byUNIT[…]elements.
- 
AXISCoordinate system axes, often represented byAXIS[…]elements.
- 
CODE_LISTCode list values.
- 
PARAMETERName of parameters, often represented byPARAMETER[…]elements.
- 
METHODOperation methods, often represented byPROJECTION[…]elements.
- 
DATUMDatum, often represented byDATUM[…]elements.
- 
SCOPECRS, datum or operation scope, often represented bySCOPE[…]elements.
- 
EXTENT
- 
CITATIONCitation (typically for the authority), often represented byCITATION[…]elements.
- 
REMARKSRemarks, often represented byREMARKS[…]elements.When formatting an ISO 19162 Well Known Text, texts quoted as remarks preserve non-ASCII characters. By contrast, quoted texts in any other ElementKindwill have some non-ASCII characters replaced by ASCII ones (e.g. "é" → "e").
- 
ERRORUnformattable elements.
 
- 
- 
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
 
- 
forTypeReturns the element kind for an object of the given type. The current implementation defines the following associations:
 The given type can be any sub-type of the above types. If an object implements more than one of the above interfaces, then the selectedMapping from Java type to WKT element Base type Kind DatumDATUMOperationMethodMETHODGeneralParameterValuePARAMETERCoordinateSystemAxisAXISIdentifierIDENTIFIERCitationCITATIONCodeListCODE_LISTExtentEXTENTUnitUNITNumberINTEGERorNUMBERElementKindis arbitrary.- Parameters:
- type- the object type, or- null.
- Returns:
- the element kind of the given type, or nullif none match.
 
 
-