org.deegree.cs.configuration.resources
Class XMLFileResource
java.lang.Object
org.deegree.commons.xml.XMLAdapter
org.deegree.cs.configuration.resources.XMLFileResource
- All Implemented Interfaces:
- CRSResource<org.apache.axiom.om.OMElement>, XLinkResolver<org.apache.axiom.om.OMElement>, XMLResource
- Direct Known Subclasses:
- GMLFileResource
public abstract class XMLFileResource
- extends XMLAdapter
- implements XMLResource
The XMLFileResource
is an OMElement
based adapter for an xml file.
- Version:
- $Revision: 30246 $, $Date: 2011-03-28 16:30:22 +0200 (Mon, 28 Mar 2011) $
- Author:
- Rutger Bezema, last edited by: $Author: aschmitz $
Methods inherited from class org.deegree.commons.xml.XMLAdapter |
evaluateXPath, getElement, getElements, getNamespaceContext, getNode, getNodeAsBigInt, 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, 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(AbstractCRSStore provider,
URL file,
String requiredRootLocalName,
String requiredNamespace)
- Parameters:
provider
- to use for the reverse lookup of coordinate systems, requiredrequiredRootLocalName
- check for the root elements localname, may be null
requiredNamespace
- check for the root elements namespace, may be null
XMLFileResource
public XMLFileResource(AbstractCRSStore provider,
org.apache.axiom.om.OMElement rootElement)
- Parameters:
provider
- to be used for callback.rootElement
-
getProvider
public AbstractCRSStore getProvider()
- Returns:
- the provider used for reversed look ups, will never be
null
Copyright © 2011. All Rights Reserved.