public class CatalogURIResolver extends URIResolverImpl
classLoader
Constructor and Description |
---|
CatalogURIResolver(JAXWSCatalogManager catalogManager)
CatalogURIResolver constructor.
|
CatalogURIResolver(JAXWSCatalogManager catalogManager,
ClassLoader classLoader)
CatalogURIResolver constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getRedirectedURI(String namespace,
String schemaLocation,
String baseUri)
Resolves URIs using Apache Commons Resolver API.
|
InputSource |
resolveEntity(String namespace,
String schemaLocation,
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, isAbsolute
public CatalogURIResolver(JAXWSCatalogManager catalogManager)
catalogManager
- the OASISCatalogManager which will determine the settings for the XML catalogpublic CatalogURIResolver(JAXWSCatalogManager catalogManager, ClassLoader classLoader)
catalogManager
- the OASISCatalogManager which will determine the settings for the XML catalogclassLoader
- public String getRedirectedURI(String namespace, String schemaLocation, 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 InputSource resolveEntity(String namespace, String schemaLocation, String baseUri)
resolveEntity
in interface org.apache.ws.commons.schema.resolver.URIResolver
resolveEntity
in class URIResolverImpl
namespace
- schemaLocation
- baseUri
- Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.