org.deegree.crs.configuration.resources
Class XMLFileResource
java.lang.Object
org.deegree.commons.xml.XMLAdapter
org.deegree.crs.configuration.resources.XMLFileResource
- All Implemented Interfaces:
- CRSResource<org.apache.axiom.om.OMElement>, XLinkResolver<org.apache.axiom.om.OMElement>, XMLResource
- Direct Known Subclasses:
- GMLFileResource, Parser
public abstract class XMLFileResource
- extends XMLAdapter
- implements XMLResource
The XMLFileResource
class TODO add class documentation here.
- Version:
- $Revision: 18793 $, $Date: 2009-07-29 14:07:52 +0200 (Mi, 29 Jul 2009) $
- Author:
- Rutger Bezema, last edited by: $Author: rbezema $
Methods inherited from class org.deegree.commons.xml.XMLAdapter |
evaluateXPath, getElement, getElements, getNamespaceContext, getNode, getNodeAsBoolean, getNodeAsDouble, getNodeAsFloat, getNodeAsInt, getNodeAsQName, getNodeAsString, getNodeAsURL, getNodeAsVersion, getNodes, getNodesAsQNames, getNodesAsStrings, getRequiredElement, getRequiredElements, getRequiredNode, getRequiredNodeAsBoolean, getRequiredNodeAsDouble, getRequiredNodeAsFloat, getRequiredNodeAsInteger, getRequiredNodeAsQName, getRequiredNodeAsString, getRequiredNodeAsURL, getRequiredNodeAsVersion, getRequiredNodes, getRootElement, getSchemas, getSystemId, hasSchemas, load, load, load, load, load, maybeWriteElement, maybeWriteElementNS, parseBoolean, parseDouble, parseFloat, parseInt, parseQName, parseSimpleLink, parseURL, resolve, setRootElement, setSystemId, toString, writeElement, writeElement, writeElement, writeElement, writeElement, writeOptionalAttribute, writeOptionalElement, writeOptionalNSAttribute |
XMLFileResource
public XMLFileResource(AbstractCRSProvider<org.apache.axiom.om.OMElement> provider,
Properties properties,
String requiredRootLocalName,
String requiredNamespace)
- Parameters:
provider
- to use for the reverse lookup of coordinate systems, requiredproperties
- to read the crs configuration file from, required, a property crs.configuration should be present, if
not the crs.default.configuration property is checked, if this is missing as well, a
NullPointerException
will be thrown.requiredRootLocalName
- check for the root elements localname, may be null
requiredNamespace
- check for the root elements namespace, may be null
XMLFileResource
public XMLFileResource(AbstractCRSProvider<org.apache.axiom.om.OMElement> provider,
org.apache.axiom.om.OMElement rootElement)
- Parameters:
provider
- to be used for callback.rootElement
-
getProvider
public AbstractCRSProvider<org.apache.axiom.om.OMElement> getProvider()
- Returns:
- the provider used for reversed look ups, will never be
null
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>