public class CatalogURIResolver extends URIResolverImpl
classLoader| Constructor and Description |
|---|
CatalogURIResolver(JAXWSCatalogManager catalogManager)
CatalogURIResolver constructor.
|
CatalogURIResolver(JAXWSCatalogManager catalogManager,
java.lang.ClassLoader classLoader)
CatalogURIResolver constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRedirectedURI(java.lang.String namespace,
java.lang.String schemaLocation,
java.lang.String baseUri)
Resolves URIs using Apache Commons Resolver API.
|
org.xml.sax.InputSource |
resolveEntity(java.lang.String namespace,
java.lang.String schemaLocation,
java.lang.String baseUri)
As for the resolver the public ID is the target namespace of the
schema and the schemaLocation is the value of the schema location
|
getInputStreamForURI, isAbsolutepublic CatalogURIResolver(JAXWSCatalogManager catalogManager)
catalogManager - the OASISCatalogManager which will determine the settings for the XML catalogpublic CatalogURIResolver(JAXWSCatalogManager catalogManager, java.lang.ClassLoader classLoader)
catalogManager - the OASISCatalogManager which will determine the settings for the XML catalogclassLoader - public java.lang.String getRedirectedURI(java.lang.String namespace,
java.lang.String schemaLocation,
java.lang.String baseUri)
namespace - a URI specifying the namespace of the documentschemaLocation - a URI specifying the document to importbaseURI - a URI specifying the location of the parent document doing
the importingpublic org.xml.sax.InputSource resolveEntity(java.lang.String namespace,
java.lang.String schemaLocation,
java.lang.String baseUri)
resolveEntity in interface org.apache.ws.commons.schema.resolver.URIResolverresolveEntity in class URIResolverImplnamespace - schemaLocation - baseUri - Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.