public class CustomWSDLLocator
extends java.lang.Object
implements javax.wsdl.xml.WSDLLocator
ResourceMap
object to WSDLLocator
.Constructor and Description |
---|
CustomWSDLLocator(org.xml.sax.InputSource baseInputSource,
java.lang.String baseURI) |
CustomWSDLLocator(org.xml.sax.InputSource baseInputSource,
java.lang.String baseURI,
ResourceMap resourceMap,
SynapseConfiguration synCfg) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.xml.sax.InputSource |
getBaseInputSource() |
java.lang.String |
getBaseURI() |
org.xml.sax.InputSource |
getImportInputSource(java.lang.String parentLocation,
java.lang.String relativeLocation)
Resolve a schema or WSDL import.
|
java.lang.String |
getLatestImportURI() |
public CustomWSDLLocator(org.xml.sax.InputSource baseInputSource, java.lang.String baseURI)
public CustomWSDLLocator(org.xml.sax.InputSource baseInputSource, java.lang.String baseURI, ResourceMap resourceMap, SynapseConfiguration synCfg)
public org.xml.sax.InputSource getBaseInputSource()
getBaseInputSource
in interface javax.wsdl.xml.WSDLLocator
public java.lang.String getBaseURI()
getBaseURI
in interface javax.wsdl.xml.WSDLLocator
public org.xml.sax.InputSource getImportInputSource(java.lang.String parentLocation, java.lang.String relativeLocation)
ResourceMap
object. If this fails (because no ResourceMap
is
configured or because ResourceMap.resolve(SynapseConfiguration, String)
returns null, it will resolve the location using
SynapseConfigUtils.resolveRelativeURI(String, String)
.getImportInputSource
in interface javax.wsdl.xml.WSDLLocator
public java.lang.String getLatestImportURI()
getLatestImportURI
in interface javax.wsdl.xml.WSDLLocator
public void close()
close
in interface javax.wsdl.xml.WSDLLocator
Copyright © 2005-2022 Apache Software Foundation. All Rights Reserved.