| java.lang.Object org.apache.wsif.wsdl.WSIFWSDLLocatorImpl
WSIFWSDLLocatorImpl | public class WSIFWSDLLocatorImpl implements javax.wsdl.xml.WSDLLocator(Code) | | Implementation of javax.wsdl.xml.WSDLLocator. This class can be used to
locate a wsdl document and its imports using a ClassLoader. This is useful
when the wsdl is located in a jar/zip file.
author: Owen Burroughs |
WSIFWSDLLocatorImpl | public WSIFWSDLLocatorImpl(String ctxt, String wsdlURI, ClassLoader cl)(Code) | | Create an instance of WSIFWSDLLocatorImpl.
Parameters: ctxt - The context uri for the wsdl location Parameters: wsdlURI - The uri for the base wsdl document Parameters: cl - A ClassLoader to use in locating the base wsdl document and imports |
WSIFWSDLLocatorImpl | public WSIFWSDLLocatorImpl(String docBase, Reader reader, ClassLoader cl)(Code) | | Create an instance of WSIFWSDLLocatorImpl.
Parameters: docBase - The uri for the base wsdl document Parameters: reader - A reader "directed at" the base wsdl document Parameters: cl - A ClassLoader to use in locating the base wsdl document and imports |
close | public void close() throws IOException(Code) | | Close any Reader objects that have been created
throws: IOException - If a call to close() on one of the Reader objects fails |
getBaseReader | public Reader getBaseReader()(Code) | | Get a reader for the base wsdl document. Returns null if the document
cannot be located.
The reader or null if the import cannot be resolved |
getBaseURI | public String getBaseURI()(Code) | | Get the document base uri for the base wsdl document
The document base uri |
getImportReader | public Reader getImportReader(String base, String relativeLocation)(Code) | | Get a reader for an imported wsdl document. Returns null if the import document
cannot be located.
Parameters: base - The document base uri for the parent wsdl document Parameters: relativeLocation - The relative uri of the import wsdl document The reader or null if the import cannot be resolved |
getLatestImportURI | public String getLatestImportURI()(Code) | | Get the document base uri for the last import document to be resolved
by this locator. This is useful if resolving imports within imports.
The document base uri |
|
|