org.deegree.cs.configuration.resources
Class XMLFileResource

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by 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 $

Field Summary
 
Fields inherited from class org.deegree.commons.xml.XMLAdapter
DEFAULT_URL, nsContext, rootElement, XLN_NS
 
Constructor Summary
XMLFileResource(AbstractCRSStore provider, org.apache.axiom.om.OMElement rootElement)
           
XMLFileResource(AbstractCRSStore provider, URL file, String requiredRootLocalName, String requiredNamespace)
           
 
Method Summary
 AbstractCRSStore getProvider()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.cs.configuration.resources.CRSResource
getTransformation, getWGS84Transformation
 
Methods inherited from interface org.deegree.cs.configuration.resources.XLinkResolver
getURIAsType
 

Constructor Detail

XMLFileResource

public XMLFileResource(AbstractCRSStore provider,
                       URL file,
                       String requiredRootLocalName,
                       String requiredNamespace)
Parameters:
provider - to use for the reverse lookup of coordinate systems, required
requiredRootLocalName - 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 -
Method Detail

getProvider

public AbstractCRSStore getProvider()
Returns:
the provider used for reversed look ups, will never be null


Copyright © 2011. All Rights Reserved.