public abstract class AbstractXPathExpressionEvaluator extends Object implements ExpressionEvaluator, Disposable
PHASE_NAME| Constructor and Description |
|---|
AbstractXPathExpressionEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.jaxen.XPath |
createXPath(String expression,
Object object) |
void |
dispose()
A lifecycle method where implementor should free up any resources.
|
Object |
evaluate(String expression,
Object message)
Extracts a single property from the message
|
protected abstract Object |
extractResultFromNode(Object result) |
protected List |
extractResultsFromNodes(List results) |
protected org.jaxen.XPath |
getXPath(String expression,
Object object) |
void |
setName(String name)
Sets the name of the object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic Object evaluate(String expression, Object message)
evaluate in interface ExpressionEvaluatorexpression - the property expression or expressionmessage - the message to extract frompublic final void setName(String name)
setName in interface NamedObjectname - the name of the objectprotected org.jaxen.XPath getXPath(String expression, Object object) throws org.jaxen.JaxenException
org.jaxen.JaxenExceptionprotected abstract org.jaxen.XPath createXPath(String expression, Object object) throws org.jaxen.JaxenException
org.jaxen.JaxenExceptionpublic void dispose()
dispose in interface DisposableCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.