|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.synapse.util.xpath.ext.XpathExtensionUtil
public class XpathExtensionUtil
Utility class to support custom xpath context extensions
Constructor Summary | |
---|---|
XpathExtensionUtil()
|
Method Summary | |
---|---|
static 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XpathExtensionUtil()
Method Detail |
---|
public static List<SynapseXpathVariableResolver> getRegisteredVariableExtensions()
public static List<SynapseXpathFunctionContextProvider> getRegisteredFunctionExtensions()
public static 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 expression
public 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 expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |