org.deegree.crs.configuration.deegree.xml.stax.parsers
Class DatumParser
java.lang.Object
org.deegree.crs.configuration.deegree.xml.stax.parsers.DefinitionParser
org.deegree.crs.configuration.deegree.xml.stax.parsers.DatumParser
public class DatumParser
- extends DefinitionParser
A stax based 0.4.0 crs configuration parser for datum objects.
- Version:
- $Revision: 22662 $, $Date: 2010-02-19 14:51:52 +0100 (Fr, 19 Feb 2010) $
- Author:
- Rutger Bezema, last edited by: $Author: mschneider $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatumParser
public DatumParser(DeegreeCRSProvider<StAXResource> provider,
URL configURL)
- Parameters:
provider - configURL -
getGeodeticDatumForId
public GeodeticDatum getGeodeticDatumForId(String datumID)
throws CRSConfigurationException
- Parameters:
datumID -
- Returns:
- the
- Throws:
CRSConfigurationException
parseDatum
protected GeodeticDatum parseDatum(XMLStreamReader reader)
throws XMLStreamException
- Parameters:
reader - to
- Returns:
- the next datum on the stream.
- Throws:
XMLStreamException
expectedRootName
protected QName expectedRootName()
- Specified by:
expectedRootName in class DefinitionParser
- Returns:
- the top level element of a configuration file.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>