public class XpathExtensionUtil extends Object
Constructor and Description |
---|
XpathExtensionUtil() |
Modifier and Type | Method and Description |
---|---|
static org.jaxen.Function |
getFunctionContext(MessageContext ctxt,
String namespaceURI,
String prefix,
String localName)
Returns a Function Context extension registered for given QName/namespaceURI+prefix+localName
combination
|
static List<SynapseXpathFunctionContextProvider> |
getRegisteredFunctionExtensions()
Get all registered function context extensions.
|
static List<SynapseXpathVariableResolver> |
getRegisteredVariableExtensions()
Get all registered variable context extensions.
|
static Object |
resolveVariableContext(MessageContext ctxt,
String namespaceURI,
String prefix,
String localName)
Returns an object resolved by Variable Context extension registered for given
QName/namespaceURI+prefix+localName combination
|
public static List<SynapseXpathVariableResolver> getRegisteredVariableExtensions()
public static List<SynapseXpathFunctionContextProvider> getRegisteredFunctionExtensions()
public static org.jaxen.Function getFunctionContext(MessageContext ctxt, String namespaceURI, String prefix, String localName)
ctxt
- Synapse Message ContextnamespaceURI
- binding namespace in xpath expressionprefix
- binding prefix string in xpath expressionlocalName
- binding localname string in xpath expressionpublic static Object resolveVariableContext(MessageContext ctxt, String namespaceURI, String prefix, String localName)
ctxt
- Synapse Message ContextnamespaceURI
- binding namespace in xpath expressionprefix
- binding prefix string in xpath expressionlocalName
- binding localname string in xpath expressionCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.