|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.builder.xpath.ExchangeXPathExpression<E>
public class ExchangeXPathExpression<E extends Exchange>
An Expression which uses XPath to perform the evaluation
| Constructor Summary | |
|---|---|
ExchangeXPathExpression(XPathBuilder builder,
XPathExpression expression,
MessageVariableResolver variableResolver)
|
|
| Method Summary | |
|---|---|
Object |
evaluate(E exchange)
Returns the value of the expression on the given exchange |
protected Object |
evaluateAs(E exchange,
QName resultType)
Evaluates the expression as the given result type |
protected Object |
getDocument(E exchange)
Strategy method to extract the document from the exchange |
Class |
getDocumentType()
|
String |
getText()
|
MessageVariableResolver |
getVariableResolver()
|
boolean |
matches(E exchange)
Evaluates the predicate on the message exchange and returns true if this exchange matches the predicate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExchangeXPathExpression(XPathBuilder builder,
XPathExpression expression,
MessageVariableResolver variableResolver)
| Method Detail |
|---|
public boolean matches(E exchange)
Predicate
matches in interface Predicate<E extends Exchange>exchange - the message exchange
public Object evaluate(E exchange)
Expression
evaluate in interface Expression<E extends Exchange>exchange - the message exchange on which to evaluate the expression
public Class getDocumentType()
public String getText()
public MessageVariableResolver getVariableResolver()
protected Object evaluateAs(E exchange,
QName resultType)
protected Object getDocument(E exchange)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||