public class MathTransformParser extends AbstractParser
Format.Field
Modifier and Type | Field and Description |
---|---|
protected MathTransformFactory |
mtFactory
The factory to use for creating math transforms.
|
Constructor and Description |
---|
MathTransformParser()
Constructs a parser using the default set of symbols.
|
MathTransformParser(Symbols symbols)
Constructs a parser using the specified set of symbols and the default factories.
|
MathTransformParser(Symbols symbols,
MathTransformFactory mtFactory)
Constructs a parser for the specified set of symbols and factory.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
parse(Element element)
Parses the next element in the specified Well Know Text (WKT) tree.
|
MathTransform |
parseMathTransform(String text)
Parses a math transform element.
|
format, getAuthority, getTree, getWarning, isColorEnabled, parseObject, parseObject, reformat, setAuthority, setColorEnabled
clone, format, formatToCharacterIterator
protected final MathTransformFactory mtFactory
public MathTransformParser()
public MathTransformParser(Symbols symbols)
symbols
- The symbols for parsing and formatting numbers.public MathTransformParser(Symbols symbols, MathTransformFactory mtFactory)
symbols
- The symbols for parsing and formatting numbers.mtFactory
- The factory to use to create MathTransform
objects.public MathTransform parseMathTransform(String text) throws ParseException
text
- The text to be parsed.ParseException
- if the string can't be parsed.protected Object parse(Element element) throws ParseException
parse
in class AbstractParser
element
- The element to be parsed.ParseException
- if the element can't be parsed.Copyright © 1996–2019 Geotools. All rights reserved.