Class Symbols


  • public class Symbols
    extends Object
    The set of symbols to use for WKT parsing and formatting.
    Since:
    2.1
    Author:
    Martin Desruisseaux (IRD)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Symbols CURLY_BRACKETS
      A set of symbols with parameters between parentheses, like (...).
      static Symbols DEFAULT
      The default set of symbols.
      static Symbols SQUARE_BRACKETS
      A set of symbols with parameters between square brackets, like [...].
    • Constructor Summary

      Constructors 
      Constructor Description
      Symbols​(Locale locale)
      Creates a new set of symbols for the specified locale.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean containsAxis​(CharSequence wkt)
      Returns true if the specified WKT contains at least one AXIS[...] element.
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT

        public static final Symbols DEFAULT
        The default set of symbols.
      • SQUARE_BRACKETS

        public static final Symbols SQUARE_BRACKETS
        A set of symbols with parameters between square brackets, like [...].
      • CURLY_BRACKETS

        public static final Symbols CURLY_BRACKETS
        A set of symbols with parameters between parentheses, like (...).
    • Constructor Detail

      • Symbols

        public Symbols​(Locale locale)
        Creates a new set of symbols for the specified locale.
    • Method Detail

      • containsAxis

        public boolean containsAxis​(CharSequence wkt)
        Returns true if the specified WKT contains at least one AXIS[...] element. This method tries to make a quick checks taking in account a minimal set of WKT syntax rules.
        Since:
        2.4