|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WSDLLocator
This interface can act as an additional layer of indirection between a WSDLReader and the actual location of WSDL documents. One use could be to retrieve WSDL documents from JAR files, while still retaining the ability to resolve imported documents using relative URIs.
WSDLReader.readWSDL(WSDLLocator)
Method Summary | |
---|---|
void |
close()
Releases all associated system resources such as the InputStreams associated with the Base and Import InputSources. |
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 importLocation)
Returns an InputSource "pointed at" an imported wsdl document. |
java.lang.String |
getLatestImportURI()
Returns a URI representing the location of the last import document to be resolved. |
Method Detail |
---|
org.xml.sax.InputSource getBaseInputSource()
org.xml.sax.InputSource getImportInputSource(java.lang.String parentLocation, java.lang.String importLocation)
parentLocation
- a URI specifying the location of the
document doing the importing. This can be null if the import location
is not relative to the parent location.importLocation
- a URI specifying the location of the
document to import. This might be relative to the parent document's
location.
java.lang.String getBaseURI()
java.lang.String getLatestImportURI()
void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |