org.geotoolkit.io.wkt
Class MathTransformParser

Object
  extended by Parser
      extended by MathTransformParser
Direct Known Subclasses:
ReferencingParser

public class MathTransformParser
extends Parser

Well Known Text (WKT) parser for math transforms. Note that while this base class is restricted to math transforms, subclasses may parse a wider range of objects.

Since:
2.0
Version:
3.00
Author:
Rémi Eve (IRD), Martin Desruisseaux (IRD), Rueben Schulz (UBC)
See Also:
Well Know Text specification
Module:
referencing/geotk-referencing (download)    View source code for this class

Constructor Summary
MathTransformParser()
          Creates a parser using the default set of symbols and factory.
MathTransformParser(Symbols symbols, MathTransformFactory mtFactory)
          Creates a parser using the specified set of symbols and factory.
 
Method Summary
 MathTransform parseMathTransform(String text)
          Parses a math transform element.
 
Methods inherited from class Parser
parseObject, parseObject
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathTransformParser

public MathTransformParser()
Creates a parser using the default set of symbols and factory.


MathTransformParser

public MathTransformParser(Symbols symbols,
                           MathTransformFactory mtFactory)
Creates a parser using the specified set of symbols and factory.

Parameters:
symbols - The set of symbols to use.
mtFactory - The factory to use to create MathTransform objects.
Method Detail

parseMathTransform

public final MathTransform parseMathTransform(String text)
                                       throws ParseException
Parses a math transform element.

Parameters:
text - The text to be parsed.
Returns:
The math transform.
Throws:
ParseException - if the string can't be parsed.


Copyright © 2009-2011 Geotoolkit.org. All Rights Reserved.