public abstract class BaseWSDLLocator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.io.InputStream |
baseInputStream |
protected java.lang.String |
baseURI |
protected java.lang.String |
lastestImportURI |
| Constructor and Description |
|---|
BaseWSDLLocator() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
convertURI(java.lang.String rawURI) |
org.xml.sax.InputSource |
getBaseInputSource()
Returns an InputSource "pointed at" the base document.
|
java.lang.String |
getBaseURI()
Returns a URI representing the location of the base document.
|
org.xml.sax.InputSource |
getImportInputSource(java.lang.String parentLocation,
java.lang.String relativeLocation)
Returns an InputSource pointed at an imported wsdl document whose
parent document was located at parentLocation and whose
relative location to the parent document is specified by
relativeLocation.
|
protected abstract java.io.InputStream |
getInputStream(java.lang.String importPath)
Returns an InputStream pointed at an imported wsdl pathname relative
to the parent resource or loadStrategy.
|
java.lang.String |
getLatestImportURI()
Returns a URI representing the location of the last import document
to be resolved.
|
protected abstract java.lang.String |
getRedirectedURI(java.lang.String importURI,
java.lang.String parent)
Allows for a level of indirection, such as a catalog, when importing URIs.
|
protected boolean |
isAbsoluteImport(java.lang.String uri) |
protected java.lang.String |
normalizePath(java.lang.String parentLocation,
java.lang.String relativeLocation) |
protected java.lang.String baseURI
protected java.lang.String lastestImportURI
protected java.io.InputStream baseInputStream
protected abstract java.io.InputStream getInputStream(java.lang.String importPath)
throws java.io.IOException
importPath - identifies the WSDL file within the contextjava.io.IOExceptionprotected abstract java.lang.String getRedirectedURI(java.lang.String importURI,
java.lang.String parent)
importURI - a URI specifying the document to importparent - a URI specifying the location of the parent document doing
the importingpublic org.xml.sax.InputSource getBaseInputSource()
public org.xml.sax.InputSource getImportInputSource(java.lang.String parentLocation,
java.lang.String relativeLocation)
parentLocation - a URI specifying the location of the
document doing the importing.relativeLocation - a URI specifying the location of the
document to import, relative to the parent document's location.public java.lang.String getBaseURI()
public java.lang.String getLatestImportURI()
protected java.lang.String convertURI(java.lang.String rawURI)
protected boolean isAbsoluteImport(java.lang.String uri)
protected java.lang.String normalizePath(java.lang.String parentLocation,
java.lang.String relativeLocation)
Copyright © 2004-2025 The Apache Software Foundation. All Rights Reserved.