org.deegree.crs.configuration.deegree.xml.stax.parsers
Class ProjectionParser
java.lang.Object
org.deegree.crs.configuration.deegree.xml.stax.parsers.DefinitionParser
org.deegree.crs.configuration.deegree.xml.stax.parsers.ProjectionParser
public class ProjectionParser
- extends DefinitionParser
A stax based 0.4.0 crs configuration parser for projection 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 |
ProjectionParser
public ProjectionParser(DeegreeCRSProvider<StAXResource> provider,
URL configURL)
- Parameters:
provider - configURL -
parseProjection
protected Projection parseProjection(XMLStreamReader reader,
GeographicCRS underlyingCRS)
throws XMLStreamException
- Parameters:
reader - tounderlyingCRS -
- Returns:
- the next datum on the stream.
- Throws:
XMLStreamException
getProjectionForId
public Projection getProjectionForId(String projectionId,
GeographicCRS underlyingCRS)
throws CRSConfigurationException
- Parameters:
projectionId - underlyingCRS - the crs to which the projection is defined.
- Returns:
- the
- Throws:
CRSConfigurationException
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]]>