| org.geotools.referencing.wkt.AbstractParser org.geotools.referencing.wkt.MathTransformParser
All known Subclasses: org.geotools.referencing.wkt.Parser,
MathTransformParser | public class MathTransformParser extends AbstractParser (Code) | | Parser for
Well
Known Text (WKT) of math transform.
since: 2.0 version: $Id: MathTransformParser.java 25050 2007-04-06 00:41:49Z jgarnett $ author: Remi Eve author: Martin Desruisseaux author: Rueben Schulz |
Field Summary | |
final protected MathTransformFactory | mtFactory The factory to use for creating math transforms. |
Constructor Summary | |
public | MathTransformParser() Constructs a parser using the default set of symbols. | public | MathTransformParser(Symbols symbols) Constructs a parser using the specified set of symbols
and the default factories. | public | MathTransformParser(Symbols symbols, MathTransformFactory mtFactory) Constructs a parser for the specified set of symbols and factory. |
Method Summary | |
final OperationMethod | getOperationMethod() Returns the operation method for the last math transform parsed. | protected Object | parse(Element element) Parses the next element in the specified Well Know Text (WKT) tree.
Parameters: element - The element to be parsed. | public MathTransform | parseMathTransform(String text) Parses a math transform element.
Parameters: text - The text to be parsed. | final MathTransform | parseMathTransform(Element element, boolean required) Parses the next element (a
MathTransform ) in the specified
Well Know Text (WKT) tree.
Parameters: element - The parent element. Parameters: required - True if parameter is required and false in other case. |
mtFactory | final protected MathTransformFactory mtFactory(Code) | | The factory to use for creating math transforms.
|
MathTransformParser | public MathTransformParser()(Code) | | Constructs a parser using the default set of symbols.
|
MathTransformParser | public MathTransformParser(Symbols symbols)(Code) | | Constructs a parser using the specified set of symbols
and the default factories.
Parameters: symbols - The symbols for parsing and formatting numbers. |
MathTransformParser | public MathTransformParser(Symbols symbols, MathTransformFactory mtFactory)(Code) | | Constructs a parser for the specified set of symbols and factory.
Parameters: symbols - The symbols for parsing and formatting numbers. Parameters: mtFactory - The factory to use to create MathTransform objects. |
getOperationMethod | final OperationMethod getOperationMethod()(Code) | | Returns the operation method for the last math transform parsed. This is used by
Parser in order to built
org.opengis.referencing.crs.DerivedCRS .
|
parse | protected Object parse(Element element) throws ParseException(Code) | | Parses the next element in the specified Well Know Text (WKT) tree.
Parameters: element - The element to be parsed. The object. throws: ParseException - if the element can't be parsed. |
parseMathTransform | public MathTransform parseMathTransform(String text) throws ParseException(Code) | | Parses a math transform element.
Parameters: text - The text to be parsed. The math transform. throws: ParseException - if the string can't be parsed. |
parseMathTransform | final MathTransform parseMathTransform(Element element, boolean required) throws ParseException(Code) | | Parses the next element (a
MathTransform ) in the specified
Well Know Text (WKT) tree.
Parameters: element - The parent element. Parameters: required - True if parameter is required and false in other case. The next element as a MathTransform object. throws: ParseException - if the next element can't be parsed. |
|
|