Package org.geotools.referencing.wkt
Class Symbols
- Object
-
- 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 SymbolsCURLY_BRACKETSA set of symbols with parameters between parentheses, like(...).static SymbolsDEFAULTThe default set of symbols.static SymbolsSQUARE_BRACKETSA set of symbols with parameters between square brackets, like[...].
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsAxis(CharSequence wkt)Returnstrueif the specified WKT contains at least oneAXIS[...]element.
-
-
-
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)
Returnstrueif the specified WKT contains at least oneAXIS[...]element. This method tries to make a quick checks taking in account a minimal set of WKT syntax rules.- Since:
- 2.4
-
-