org.apache.camel.language.jxpath
Class JXPathExpression
java.lang.Object
org.apache.camel.impl.ExpressionSupport
org.apache.camel.language.jxpath.JXPathExpression
- All Implemented Interfaces:
- org.apache.camel.Expression, org.apache.camel.Predicate
public class JXPathExpression
- extends org.apache.camel.impl.ExpressionSupport
JXPath Expression support
| Methods inherited from class org.apache.camel.impl.ExpressionSupport |
assertMatches, evaluate, matches |
JXPathExpression
public JXPathExpression(String expression,
Class<?> type)
- Creates a new JXPathExpression instance
- Parameters:
expression - the JXPath expression to be evaluatedtype - the expected result type
evaluate
public <T> T evaluate(org.apache.camel.Exchange exchange,
Class<T> tClass)
assertionFailureMessage
protected String assertionFailureMessage(org.apache.camel.Exchange exchange)
- Specified by:
assertionFailureMessage in class org.apache.camel.impl.ExpressionSupport
toString
public String toString()
- Overrides:
toString in class Object
Apache CAMEL