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.woden.resolver.URIResolver,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
Fields Modifier and Type Field Description protected static org.apache.commons.logging.Loglog
-
Constructor Summary
Constructors Constructor Description WarBasedWSDLLocator(String baseURI, ClassLoader classLoader, InputStream baseInputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()InputSourcegetBaseInputSource()StringgetBaseURI()As for the zip there is no point in returning a base URIInputSourcegetImportInputSource(String parentLocation, String importLocation)StringgetLatestImportURI()returns the latest importURIresolveURI(URI uri)
-
-
-
Constructor Detail
-
WarBasedWSDLLocator
public WarBasedWSDLLocator(String baseURI, ClassLoader classLoader, InputStream baseInputStream)
-
-
Method Detail
-
getBaseInputSource
public InputSource getBaseInputSource()
- Specified by:
getBaseInputSourcein interfacejavax.wsdl.xml.WSDLLocator
-
getImportInputSource
public InputSource getImportInputSource(String parentLocation, String importLocation)
- Specified by:
getImportInputSourcein interfacejavax.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:
getBaseURIin interfacejavax.wsdl.xml.WSDLLocator
-
getLatestImportURI
public String getLatestImportURI()
returns the latest import- Specified by:
getLatestImportURIin interfacejavax.wsdl.xml.WSDLLocator
-
close
public void close()
- Specified by:
closein interfacejavax.wsdl.xml.WSDLLocator
-
resolveURI
public URI resolveURI(URI uri) throws org.apache.woden.WSDLException, IOException
- Specified by:
resolveURIin interfaceorg.apache.woden.resolver.URIResolver- Throws:
org.apache.woden.WSDLExceptionIOException
-
-