Enum ElementKind

    • Enum Constant Detail

      • NAME

        public static final ElementKind NAME
        Object name, typically written immediately after the WKT keyword and its opening bracket.
      • IDENTIFIER

        public static final ElementKind IDENTIFIER
        Object identifier, typically written almost last just before remarks.
      • NUMBER

        public static final ElementKind NUMBER
        Floating point numbers (excluding integer types).
      • INTEGER

        public static final ElementKind INTEGER
        Integer numbers.
      • PARAMETER

        public static final ElementKind PARAMETER
        Name of parameters, often represented by PARAMETER[…] elements.
      • DATUM

        public static final ElementKind DATUM
        Datum, often represented by DATUM[…] elements.
      • SCOPE

        public static final ElementKind SCOPE
        CRS, datum or operation scope, often represented by SCOPE[…] elements.
      • EXTENT

        public static final ElementKind EXTENT
        CRS, datum or operation domain of validity, often represented by AREA[…] or BBOX[…] elements.
      • CITATION

        public static final ElementKind CITATION
        Citation (typically for the authority), often represented by CITATION[…] elements.
      • REMARKS

        public static final ElementKind REMARKS
        Remarks, often represented by REMARKS[…] elements.

        When formatting an ISO 19162 Well Known Text, texts quoted as remarks preserve non-ASCII characters. By contrast, quoted texts in any other Element­Kind will have some non-ASCII characters replaced by ASCII ones (e.g. "é" → "e").

      • ERROR

        public static final ElementKind ERROR
        Unformattable elements.
    • Method Detail

      • values

        public static ElementKind[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ElementKind c : ElementKind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ElementKind valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        Null­Pointer­Exception - if the argument is null