org.objectweb.jonas_ws.deployment.api
Class JWSDLLocator
java.lang.Object
org.objectweb.jonas_ws.deployment.api.JWSDLLocator
- All Implemented Interfaces:
- javax.wsdl.xml.WSDLLocator
- public class JWSDLLocator
- extends java.lang.Object
- implements javax.wsdl.xml.WSDLLocator
Used to load WSDL files.
- Author:
- Guillaume Sauthier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JWSDLLocator
public JWSDLLocator(java.net.URL baseURI)
- Parameters:
baseURI
- URL pointing to WSDL inside a jar file (of the form : jar:file://xxx/something.jar!/META-INF/wsdl/definition.wsdl)
getBaseInputSource
public org.xml.sax.InputSource getBaseInputSource()
- Specified by:
getBaseInputSource
in interface javax.wsdl.xml.WSDLLocator
- See Also:
WSDLLocator.getBaseInputSource()
getBaseURI
public java.lang.String getBaseURI()
- Specified by:
getBaseURI
in interface javax.wsdl.xml.WSDLLocator
- See Also:
WSDLLocator.getBaseURI()
getImportInputSource
public org.xml.sax.InputSource getImportInputSource(java.lang.String ctx,
java.lang.String imported)
- Specified by:
getImportInputSource
in interface javax.wsdl.xml.WSDLLocator
- See Also:
WSDLLocator.getImportInputSource(java.lang.String,
java.lang.String)
getLatestImportURI
public java.lang.String getLatestImportURI()
- Specified by:
getLatestImportURI
in interface javax.wsdl.xml.WSDLLocator
- See Also:
WSDLLocator.getLatestImportURI()
getURL
public static java.net.URL getURL(java.net.URL contextURL,
java.lang.String spec)
throws java.net.MalformedURLException
- Parameters:
contextURL
- context URLspec
- locationURI to load (may be relative to contextURL)
- Returns:
- Returns the merged URL of the URL of the spec if spec is absolute.
- Throws:
java.net.MalformedURLException
- if cannot create new URL(contextURL, spec)