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.WSDLLocatorpublic InputSource getImportInputSource(String parentLocation, String importLocation)
getImportInputSource in interface javax.wsdl.xml.WSDLLocatorparentLocation - importLocation - public String getBaseURI()
getBaseURI in interface javax.wsdl.xml.WSDLLocatorpublic String getLatestImportURI()
getLatestImportURI in interface javax.wsdl.xml.WSDLLocatorpublic void close()
close in interface javax.wsdl.xml.WSDLLocatorpublic URI resolveURI(URI uri) throws org.apache.woden.WSDLException, IOException
org.apache.woden.WSDLExceptionIOExceptionprotected boolean isAbsolute(String uri)
isAbsolute in class org.apache.ws.commons.schema.resolver.DefaultURIResolveruri - Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.