|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.jaxws.description.impl.URIResolverImpl
org.apache.axis2.jaxws.util.CatalogURIResolver
public class CatalogURIResolver
This resolver provides the means of resolving the imports and includes of a given schema document. It allows the use of the Apache Commons Resolver API to redirect resource requests to alternative locations.
Constructor Summary | |
---|---|
CatalogURIResolver(JAXWSCatalogManager catalogManager)
CatalogURIResolver constructor. |
|
CatalogURIResolver(JAXWSCatalogManager catalogManager,
ClassLoader classLoader)
CatalogURIResolver constructor. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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
- Method Detail |
---|
public String getRedirectedURI(String namespace, String schemaLocation, String baseUri)
importURI
- a URI specifying the document to importparent
- a URI specifying the location of the parent document doing
the importing
public 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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |