public class AARBasedWSDLLocator
extends org.apache.ws.commons.schema.resolver.DefaultURIResolver
implements javax.wsdl.xml.WSDLLocator, org.apache.woden.resolver.URIResolver
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
AARBasedWSDLLocator(String baseURI,
File zipFile,
InputStream baseInputStream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
InputSource |
getBaseInputSource() |
String |
getBaseURI()
As for the zip there is no point in returning
a base URI
|
InputSource |
getImportInputSource(String parentLocation,
String importLocation) |
String |
getLatestImportURI()
returns the latest import
|
protected boolean |
isAbsolute(String uri)
Override logic in DefaultURIResolver class
to include more schemes (protocols)
|
URI |
resolveURI(URI uri) |
public AARBasedWSDLLocator(String baseURI, File zipFile, InputStream baseInputStream)
public InputSource getBaseInputSource()
getBaseInputSource
in interface javax.wsdl.xml.WSDLLocator
public InputSource getImportInputSource(String parentLocation, String importLocation)
getImportInputSource
in interface javax.wsdl.xml.WSDLLocator
parentLocation
- importLocation
- public String getBaseURI()
getBaseURI
in interface javax.wsdl.xml.WSDLLocator
public String getLatestImportURI()
getLatestImportURI
in interface javax.wsdl.xml.WSDLLocator
public void close()
close
in interface javax.wsdl.xml.WSDLLocator
public URI resolveURI(URI uri) throws org.apache.woden.WSDLException, IOException
org.apache.woden.WSDLException
IOException
protected boolean isAbsolute(String uri)
isAbsolute
in class org.apache.ws.commons.schema.resolver.DefaultURIResolver
uri
- Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.