deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.crs.configuration.deegree.xml.stax.parsers
Class DatumParser

java.lang.Object
  extended by org.deegree.crs.configuration.deegree.xml.stax.parsers.DefinitionParser
      extended by 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 $

Constructor Summary
DatumParser(DeegreeCRSProvider<StAXResource> provider, URL configURL)
           
 
Method Summary
protected  QName expectedRootName()
           
 GeodeticDatum getGeodeticDatumForId(String datumID)
           
protected  GeodeticDatum parseDatum(XMLStreamReader reader)
           
 
Methods inherited from class org.deegree.crs.configuration.deegree.xml.stax.parsers.DefinitionParser
getConfigReader, getConfigURL, getProvider, moveReaderToNextIdentifiable, moveReaderToNextIdentifiable, parseIdentifiable, parseLatLonType, parseUnit, readEntireFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatumParser

public DatumParser(DeegreeCRSProvider<StAXResource> provider,
                   URL configURL)
Parameters:
provider -
configURL -
Method Detail

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.

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>