org.apache.camel.language.jxpath
Class JXPathExpression

java.lang.Object
  extended by org.apache.camel.impl.ExpressionSupport<Exchange>
      extended by org.apache.camel.language.jxpath.JXPathExpression
All Implemented Interfaces:
Expression<Exchange>, Predicate<Exchange>

public class JXPathExpression
extends ExpressionSupport<Exchange>

JXPath Expression support


Constructor Summary
JXPathExpression(String expression, Class<?> type)
          Creates a new JXPathExpression instance
 
Method Summary
protected  String assertionFailureMessage(Exchange exchange)
           
 Object evaluate(Exchange exchange)
           
 
Methods inherited from class org.apache.camel.impl.ExpressionSupport
assertMatches, matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JXPathExpression

public JXPathExpression(String expression,
                        Class<?> type)
Creates a new JXPathExpression instance

Parameters:
expression - the JXPath expression to be evaluated
type - the expected result type
Method Detail

evaluate

public Object evaluate(Exchange exchange)

assertionFailureMessage

protected String assertionFailureMessage(Exchange exchange)
Specified by:
assertionFailureMessage in class ExpressionSupport<Exchange>


Apache CAMEL