public interface SynapseXpathFunctionContextProvider
This XPath Function Context provider Interface must be implemented when resolving custom
XPath Function contexts .Any xpath function that can't be resolved by
SynapseXPathFunctionContext
will be delegated to this interface.
Users should implement this API as well as jaxen based Function
API .
Extensions can be registered in synapse.properties under synapse.xpath.func.extensions
Function
,
SynapseXPathFunctionContext
Modifier and Type | Method and Description |
---|---|
org.jaxen.Function |
getInitializedExtFunction(MessageContext msgCtxt)
This method should implement instatntiation code for custom xpath function for the registered
QNames given by #getResolvingQName().Note that this extension provider is responsible for
initalizing custom xpath function and returning a fresh function instance to Synapse.
|
QName |
getResolvingQName()
Should Implement this API to return supported custom expression
|
org.jaxen.Function getInitializedExtFunction(MessageContext msgCtxt)
msgCtxt
- Synapse Message ContextFunction.call(org.jaxen.Context, java.util.List)
QName getResolvingQName()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.