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()
WSDLLocator
getBaseInputSource
in interface WSDLLocator
WSDLLocatorImpl.getBaseInputSource
protected URL constructImportUrl(String parentLocation, String importLocation)
parentLocation
- importLocation
- public InputSource getImportInputSource(String parentLocation, String importLocation)
WSDLLocator
getImportInputSource
in interface WSDLLocator
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.WSDLLocatorImpl.getImportInputSource
public String getBaseURI()
WSDLLocator
getBaseURI
in interface WSDLLocator
WSDLLocatorImpl.getBaseURI
public String getLatestImportURI()
WSDLLocator
getLatestImportURI
in interface WSDLLocator
WSDLLocatorImpl.getLatestImportURI
public void close()
WSDLLocator
close
in interface WSDLLocator
WSDLLocatorImpl.close
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.