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

org.deegree.crs.configuration.resources
Class XMLFileResource

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

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

Constructor Detail

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, required
properties - 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 -
Method Detail

getProvider

public AbstractCRSProvider<org.apache.axiom.om.OMElement> getProvider()
Returns:
the provider used for reversed look ups, will never be null

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

]]>