Enum KeywordStyle

    • Enum Constant Detail

      • SHORT

        public static final KeywordStyle SHORT
        Short keywords.
        Examples: "Geod­CRS", "Vert­CRS", "Unit".
      • LONG

        public static final KeywordStyle LONG
        Long keywords.
        Examples: "Geodetic­CRS", "Vertical­CRS", "Angle­Unit".
      • DEFAULT

        public static final KeywordStyle DEFAULT
        Keywords style is determined by the WKT convention.
        Examples:
        • For Convention​.WKT2: "Geod­CRS", "Vert­CRS", "Angle­Unit" (keywords matching the ISO 19162 recommendations).
        • For Convention​.WKT2_SIMPLIFIED: "Geodetic­CRS", "Vertical­CRS", "Unit" (keywords matching the class or interface names).
    • Method Detail

      • values

        public static KeywordStyle[] 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 (KeywordStyle c : KeywordStyle.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KeywordStyle 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