org.apache.synapse.processors.rules
Class XPathProcessor
java.lang.Object
org.apache.synapse.processors.AbstractProcessor
org.apache.synapse.processors.ListProcessor
org.apache.synapse.processors.rules.XPathProcessor
- All Implemented Interfaces:
- Processor
- public class XPathProcessor
- extends ListProcessor
This class executes an XPath test against the message envelope and then processes all subsequent rules/mediations
if the test is true
TODO add the context into the XPath matching space
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPathProcessor
public XPathProcessor()
process
public boolean process(SynapseEnvironment se,
SynapseMessage smc)
- Description copied from interface:
Processor
- This method is used to process a message. A response of true indicates continue processing.
A response of false indicates to stop processing.
- Specified by:
process
in interface Processor
- Overrides:
process
in class ListProcessor
setXPathExpr
public void setXPathExpr(java.lang.String expr)
getXPathExpr
public java.lang.String getXPathExpr()
addXPathNamespace
public void addXPathNamespace(java.lang.String prefix,
java.lang.String uri)