|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.synapse.util.xpath.SynapseXPathFunctionContext
public class SynapseXPathFunctionContext
XPath function context to be used when resolving XPath functions when using the
SynapseXPath
and this resolves one function except for the standard XPath functions
and Jaxen extension functions.
The function that has been resolved by this FunctionContext is; get-property(String) which is used to retrieve message context properties
XPathFunctionContext
,
SynapseXPath
Constructor Summary | |
---|---|
SynapseXPathFunctionContext(FunctionContext parent,
MessageContext synCtx)
Initialises the function context |
Method Summary | |
---|---|
Function |
getFunction(String namespaceURI,
String prefix,
String localName)
Get the function with a given namespace and name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SynapseXPathFunctionContext(FunctionContext parent, MessageContext synCtx)
Initialises the function context
parent
- the parent function contextsynCtx
- message to be used for the function initializationXPathFunctionContext
Method Detail |
---|
public Function getFunction(String namespaceURI, String prefix, String localName) throws UnresolvableException
Only the get-property function is recognized by this class. Any other function will be resolved using the parent function context.
getFunction
in interface FunctionContext
namespaceURI
- namespace of the function to be resolvedprefix
- string prefix to be resolvedlocalName
- string local name of the function
UnresolvableException
- if the function specified does not found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |