public class WSDLLocatorImpl extends Object implements WSDLLocator
WSDLLocatorImpl.| Constructor and Description |
|---|
WSDLLocatorImpl(URI baseURI)
Constructor taking the URI to the WSDL.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases all associated system resources such as the InputStreams
associated with the Base and Import InputSources.
|
protected URL |
constructImportUrl(String parentLocation,
String importLocation)
Internal method to normalize the importUrl.
|
InputSource |
getBaseInputSource()
Returns an InputSource "pointed at" the base document.
|
String |
getBaseURI()
Returns a URI representing the location of the base document.
|
InputSource |
getImportInputSource(String parentLocation,
String importLocation)
Returns an InputSource "pointed at" an imported wsdl document.
|
String |
getLatestImportURI()
Returns a URI representing the location of the last import document
to be resolved.
|
public WSDLLocatorImpl(URI baseURI)
WSDLLocatorImpl
Interface.baseURI - - URI of the WSDLpublic InputSource getBaseInputSource()
WSDLLocatorgetBaseInputSource in interface WSDLLocatorWSDLLocatorImpl.getBaseInputSourceprotected URL constructImportUrl(String parentLocation, String importLocation)
parentLocation - importLocation - public InputSource getImportInputSource(String parentLocation, String importLocation)
WSDLLocatorgetImportInputSource in interface WSDLLocatorparentLocation - 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.WSDLLocatorImpl.getImportInputSourcepublic String getBaseURI()
WSDLLocatorgetBaseURI in interface WSDLLocatorWSDLLocatorImpl.getBaseURIpublic String getLatestImportURI()
WSDLLocatorgetLatestImportURI in interface WSDLLocatorWSDLLocatorImpl.getLatestImportURIpublic void close()
WSDLLocatorclose in interface WSDLLocatorWSDLLocatorImpl.closeCopyright © 2012 JBoss by Red Hat. All Rights Reserved.