Class WfsUriResolver
java.lang.Object
org.apache.ws.commons.schema.resolver.DefaultURIResolver
org.codice.ddf.spatial.ogc.wfs.catalog.source.WfsUriResolver
- All Implemented Interfaces:
org.apache.ws.commons.schema.resolver.CollectionURIResolver,org.apache.ws.commons.schema.resolver.URIResolver
public class WfsUriResolver
extends org.apache.ws.commons.schema.resolver.DefaultURIResolver
This class is used by
XmlSchema to override the DefaultURIResolver. It is used to resolve schemas defined by "import" and"include".-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveEntity(String namespace, String schemaLocation, String baseUri) Try to resolve a schema location to some data.voidsetGmlNamespace(String gmlNamespace) voidsetWfsNamespace(String wfsNamespace) Methods inherited from class org.apache.ws.commons.schema.resolver.DefaultURIResolver
getCollectionBaseURI, getFileURL, getURL, isAbsolute, setCollectionBaseURI
-
Constructor Details
-
WfsUriResolver
public WfsUriResolver()
-
-
Method Details
-
resolveEntity
Try to resolve a schema location to some data. If the namespace is that of WFS or GML ignore it because we already have our own bindings and this will only slow the schema creation down.- Specified by:
resolveEntityin interfaceorg.apache.ws.commons.schema.resolver.URIResolver- Overrides:
resolveEntityin classorg.apache.ws.commons.schema.resolver.DefaultURIResolver- Parameters:
namespace- target namespace.schemaLocation- system ID.baseUri- base URI for the schema.
-
setGmlNamespace
-
setWfsNamespace
-