public class ModuleWSDLLocator extends BaseWSDLLocator implements javax.wsdl.xml.WSDLLocator
baseInputStream, baseURI, lastestImportURI| Constructor and Description |
|---|
ModuleWSDLLocator(java.lang.String uri,
java.io.InputStream stream,
java.lang.ClassLoader classLoader)
ModuleWSDLLocator constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected java.io.InputStream |
getInputStream(java.lang.String importPath)
Returns an InputStream pointed at an imported wsdl pathname relative to
the parent document.
|
protected java.lang.String |
getRedirectedURI(java.lang.String importURI,
java.lang.String parent)
Returns null because no URI indirection is performed when
using the ModuleWSDLLocator.
|
java.net.URL |
getWsdlUrl(java.lang.String wsdlLocation)
Return the wsdlLocation in URL form.
|
convertURI, getBaseInputSource, getBaseURI, getImportInputSource, getLatestImportURI, isAbsoluteImport, normalizePathpublic ModuleWSDLLocator(java.lang.String uri,
java.io.InputStream stream,
java.lang.ClassLoader classLoader)
uri - the path for the base wsdl file, relative to the module rootstream - the InputStream for the base wsdl filestrategy - the load strategy for the moduleprotected java.lang.String getRedirectedURI(java.lang.String importURI,
java.lang.String parent)
getRedirectedURI in class BaseWSDLLocatorimportURI - a URI specifying the document to importparent - a URI specifying the location of the parent document doing
the importingprotected java.io.InputStream getInputStream(java.lang.String importPath)
throws java.io.IOException
getInputStream in class BaseWSDLLocatorimportPath - identifies the WSDL file within the contextjava.io.IOExceptionpublic java.net.URL getWsdlUrl(java.lang.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.WSDLLocatorCopyright © 2004-2025 The Apache Software Foundation. All Rights Reserved.