public class CatalogWSDLLocator extends BaseWSDLLocator implements javax.wsdl.xml.WSDLLocator
baseInputStream, baseURI, lastestImportURI
Constructor and Description |
---|
CatalogWSDLLocator(String uri,
InputStream stream,
ClassLoader classLoader,
JAXWSCatalogManager catalogManager)
CatalogWSDLLocator constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected InputStream |
getInputStream(String importPath)
Returns an InputStream pointed at an imported wsdl pathname relative to
the parent document.
|
String |
getRedirectedURI(String importURI,
String parent)
Resolves WSDL URIs using Apache Commons Resolver API.
|
URL |
getWsdlUrl(String wsdlLocation)
Return the wsdlLocation in URL form.
|
convertURI, getBaseInputSource, getBaseURI, getImportInputSource, getLatestImportURI, isAbsoluteImport, normalizePath
public CatalogWSDLLocator(String uri, InputStream stream, ClassLoader classLoader, JAXWSCatalogManager catalogManager)
uri
- the path for the base wsdl file, relative to the module rootstream
- the InputStream for the base wsdl fileclassloader
- the ClassLoader for the modulecatalogManager
- the OASISCatalogManager which will determine the settings for the XML catalogpublic String getRedirectedURI(String importURI, String parent)
getRedirectedURI
in class BaseWSDLLocator
importURI
- a URI specifying the document to importparent
- a URI specifying the location of the parent document doing
the importingprotected InputStream getInputStream(String importPath) throws IOException
getInputStream
in class BaseWSDLLocator
importPath
- identifies the WSDL file within the contextIOException
public URL getWsdlUrl(String wsdlLocation)
wsdlLocation
- the location of a WSDL document in the form of a URL string, a
relative pathname (relative to the root of a module, or a
full-qualified absolute pathnamepublic void close()
close
in interface javax.wsdl.xml.WSDLLocator
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.