deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.crs.configuration.resources
Class XMLFileResource

java.lang.Object
  extended by org.deegree.framework.xml.XMLFragment
      extended by org.deegree.crs.configuration.resources.XMLFileResource
All Implemented Interfaces:
java.io.Serializable, CRSResource<org.w3c.dom.Element>, XMLResource, XLinkResolver<org.w3c.dom.Element>
Direct Known Subclasses:
CRSParser, GMLFileResource

public abstract class XMLFileResource
extends XMLFragment
implements XMLResource

The XMLFileResource class TODO add class documentation here.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.deegree.framework.xml.XMLFragment
DEFAULT_URL, nsContext, XLNNS
 
Constructor Summary
XMLFileResource(AbstractCRSProvider<org.w3c.dom.Element> provider, org.w3c.dom.Element rootElement)
           
XMLFileResource(AbstractCRSProvider<org.w3c.dom.Element> provider, java.util.Properties properties, java.lang.String requiredRootLocalName, java.lang.String requiredNamespace)
           
 
Method Summary
 AbstractCRSProvider<org.w3c.dom.Element> getProvider()
           
 
Methods inherited from class org.deegree.framework.xml.XMLFragment
getAsPrettyString, getAsString, getAttachedSchemas, getQualifiedName, getRootElement, getSystemId, hasSchema, load, load, load, parseQualifiedName, parseSimpleLink, prettyPrint, prettyPrint, resolve, setRootElement, setSystemId, setSystemId, toString, write, write, write, write
 
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, getTransformations, getWGS84Transformation
 
Methods inherited from interface org.deegree.framework.xml.XLinkResolver
getURIAsType
 

Constructor Detail

XMLFileResource

public XMLFileResource(AbstractCRSProvider<org.w3c.dom.Element> provider,
                       java.util.Properties properties,
                       java.lang.String requiredRootLocalName,
                       java.lang.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.w3c.dom.Element> provider,
                       org.w3c.dom.Element rootElement)
Parameters:
provider - to be used for callback.
rootElement -
Method Detail

getProvider

public AbstractCRSProvider<org.w3c.dom.Element> getProvider()
Returns:
the provider used for reversed look ups, will never be null

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org