|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsif.wsdl.WSIFWSDLLocatorImpl
public class WSIFWSDLLocatorImpl
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 on the classpath.
Constructor Summary | |
---|---|
WSIFWSDLLocatorImpl(java.lang.String docBase,
java.io.Reader reader,
java.lang.ClassLoader cl)
Create an instance of WSIFWSDLLocatorImpl. |
|
WSIFWSDLLocatorImpl(java.lang.String ctxt,
java.lang.String wsdlURI,
java.lang.ClassLoader cl)
Create an instance of WSIFWSDLLocatorImpl. |
Method Summary | |
---|---|
void |
close()
Close any Reader or stream objects that have been created |
org.xml.sax.InputSource |
getBaseInputSource()
Get an InputSource for the base wsdl document. |
java.io.Reader |
getBaseReader()
Deprecated. Old WSDLLocator method, no longer on the interface |
java.lang.String |
getBaseURI()
Get the document base uri for the base wsdl document |
org.xml.sax.InputSource |
getImportInputSource(java.lang.String base,
java.lang.String relativeLocation)
Get an InputSource for an imported wsdl document. |
java.io.Reader |
getImportReader(java.lang.String base,
java.lang.String relativeLocation)
Deprecated. Old WSDLLocator method, no longer on the interface |
java.lang.String |
getLatestImportURI()
Get the document base uri for the last import document to be resolved by this locator. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSIFWSDLLocatorImpl(java.lang.String ctxt, java.lang.String wsdlURI, java.lang.ClassLoader cl)
ctxt
- The context uri for the wsdl locationwsdlURI
- The uri for the base wsdl documentcl
- A ClassLoader to use in locating the base wsdl document and importspublic WSIFWSDLLocatorImpl(java.lang.String docBase, java.io.Reader reader, java.lang.ClassLoader cl)
docBase
- The uri for the base wsdl documentreader
- A reader "directed at" the base wsdl documentcl
- A ClassLoader to use in locating the base wsdl document and importsMethod Detail |
---|
public org.xml.sax.InputSource getBaseInputSource()
getBaseInputSource
in interface javax.wsdl.xml.WSDLLocator
public org.xml.sax.InputSource getImportInputSource(java.lang.String base, java.lang.String relativeLocation)
getImportInputSource
in interface javax.wsdl.xml.WSDLLocator
base
- The document base uri for the parent wsdl documentrelativeLocation
- The relative uri of the import wsdl document
public java.io.Reader getBaseReader()
public java.io.Reader getImportReader(java.lang.String base, java.lang.String relativeLocation)
public java.lang.String getBaseURI()
getBaseURI
in interface javax.wsdl.xml.WSDLLocator
public java.lang.String getLatestImportURI()
getLatestImportURI
in interface javax.wsdl.xml.WSDLLocator
public void close()
close
in interface javax.wsdl.xml.WSDLLocator
close
in interface ClosableLocator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |