org.apache.axis2.deployment.resolver
Class WarBasedWSDLLocator
java.lang.Object
org.apache.ws.commons.schema.resolver.DefaultURIResolver
org.apache.axis2.deployment.resolver.WarBasedWSDLLocator
- All Implemented Interfaces:
- javax.wsdl.xml.WSDLLocator, org.apache.ws.commons.schema.resolver.CollectionURIResolver, org.apache.ws.commons.schema.resolver.URIResolver
public class WarBasedWSDLLocator
- extends org.apache.ws.commons.schema.resolver.DefaultURIResolver
- implements javax.wsdl.xml.WSDLLocator, org.apache.woden.resolver.URIResolver
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
Methods inherited from class org.apache.ws.commons.schema.resolver.DefaultURIResolver |
getCollectionBaseURI, getFileURL, getURL, isAbsolute, resolveEntity, setCollectionBaseURI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
WarBasedWSDLLocator
public WarBasedWSDLLocator(String baseURI,
ClassLoader classLoader,
InputStream baseInputStream)
getBaseInputSource
public InputSource getBaseInputSource()
- Specified by:
getBaseInputSource
in interface javax.wsdl.xml.WSDLLocator
getImportInputSource
public InputSource getImportInputSource(String parentLocation,
String importLocation)
- Specified by:
getImportInputSource
in interface javax.wsdl.xml.WSDLLocator
- Parameters:
parentLocation
- importLocation
-
getBaseURI
public String getBaseURI()
- As for the zip there is no point in returning
a base URI
- Specified by:
getBaseURI
in interface javax.wsdl.xml.WSDLLocator
getLatestImportURI
public String getLatestImportURI()
- returns the latest import
- Specified by:
getLatestImportURI
in interface javax.wsdl.xml.WSDLLocator
close
public void close()
- Specified by:
close
in interface javax.wsdl.xml.WSDLLocator
resolveURI
public URI resolveURI(URI uri)
throws org.apache.woden.WSDLException,
IOException
- Throws:
org.apache.woden.WSDLException
IOException
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.