public class JXPathExpression
extends org.apache.camel.support.ExpressionSupport
Expression
supportConstructor and Description |
---|
JXPathExpression(String expression,
Class<?> type)
Creates a new JXPathExpression instance (lenient is disabled)
|
JXPathExpression(String expression,
Class<?> type,
boolean lenient)
Creates a new JXPathExpression instance
|
Modifier and Type | Method and Description |
---|---|
protected String |
assertionFailureMessage(org.apache.camel.Exchange exchange) |
<T> T |
evaluate(org.apache.camel.Exchange exchange,
Class<T> tClass) |
boolean |
isLenient() |
void |
setLenient(boolean lenient) |
String |
toString() |
public JXPathExpression(String expression, Class<?> type)
expression
- the JXPath expression to be evaluatedtype
- the expected result typepublic boolean isLenient()
public void setLenient(boolean lenient)
public <T> T evaluate(org.apache.camel.Exchange exchange, Class<T> tClass)
protected String assertionFailureMessage(org.apache.camel.Exchange exchange)
assertionFailureMessage
in class org.apache.camel.support.ExpressionSupport
Apache Camel