public abstract class DataExpressionHandler extends ExpressionHandler
| Constructor and Description |
|---|
DataExpressionHandler(Expression expression) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getDataValue(BusinessTransaction btxn,
Node node,
Direction direction,
Map<String,?> headers,
Object[] values)
This method returns the data value associated with the requested data
source and key..
|
void |
init(Processor processor,
ProcessorAction action,
boolean predicate)
This method initialises the expression handler.
|
boolean |
isUsesContent()
This method indicates whether the expression uses content.
|
boolean |
isUsesHeaders()
This method indicates whether the expression uses headers.
|
evaluate, getExpression, getIssues, setExpression, setIssues, testpublic DataExpressionHandler(Expression expression)
expression - public boolean isUsesHeaders()
isUsesHeaders in class ExpressionHandlerpublic boolean isUsesContent()
isUsesContent in class ExpressionHandlerpublic void init(Processor processor, ProcessorAction action, boolean predicate)
init in class ExpressionHandlerprocessor - The processoraction - The actionpredicate - Whether the expression is a predicateprotected Object getDataValue(BusinessTransaction btxn, Node node, Direction direction, Map<String,?> headers, Object[] values)
btxn - The business transactionnode - The nodedirection - The directionheaders - The optional headersvalues - The valuesCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.