org.deegree.crs.configuration.resources
Class XMLFileResource
java.lang.Object
org.deegree.framework.xml.XMLFragment
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
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 |
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, 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.w3c.dom.Element> provider,
org.w3c.dom.Element rootElement)
- Parameters:
provider
- to be used for callback.rootElement
-
getProvider
public AbstractCRSProvider<org.w3c.dom.Element> 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