Package org.apache.synapse.util.resolver
Interface UserDefinedXmlSchemaURIResolver
-
- All Superinterfaces:
LSResourceResolver
,org.apache.ws.commons.schema.resolver.URIResolver
public interface UserDefinedXmlSchemaURIResolver extends org.apache.ws.commons.schema.resolver.URIResolver, LSResourceResolver
This interface lets user to write his/her own XmlSchemaURIResolver rather usingCustomXmlSchemaURIResolver
. Here using WSDLKey/schemaKey, user can perform his/her own mapping between Relativelocation and Registrypath . User needs to provide a synapse.property call,"synapse.schema.resolver=" pointing to the implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
init(ResourceMap resourceMap, SynapseConfiguration synCfg, String wsdlKey)
Initiate the UserDefinedXmlSchemaURIResolver with the required parametersvoid
init(ResourceMap resourceMap, SynapseConfiguration synCfg, List<Value> schemaRegKey)
This will used by Validate mediator to resolve external schema references defined in Validate mediator configuration using-
Methods inherited from interface org.w3c.dom.ls.LSResourceResolver
resolveResource
-
-
-
-
Method Detail
-
init
void init(ResourceMap resourceMap, SynapseConfiguration synCfg, String wsdlKey)
Initiate the UserDefinedXmlSchemaURIResolver with the required parameters- Parameters:
resourceMap
-ResourceMap
objectsynCfg
- SynapseconfigurationwsdlKey
- The registry key of the wsdl file
-
init
void init(ResourceMap resourceMap, SynapseConfiguration synCfg, List<Value> schemaRegKey)
This will used by Validate mediator to resolve external schema references defined in Validate mediator configuration using<resource location="location" key="key"/>
inside Validate mediator configuration.- Parameters:
resourceMap
-ResourceMap
objectsynCfg
- SynapseconfigurationschemaRegKey
- , List of base schemas' registryKeys
-
-