public class XMLExpressionHandler extends DataExpressionHandler
| Constructor and Description |
|---|
XMLExpressionHandler(Expression expression) |
| Modifier and Type | Method and Description |
|---|---|
String |
evaluate(BusinessTransaction btxn,
Node node,
Direction direction,
Map<String,?> headers,
Object[] values)
This method evaluates the supplied information against this
expression.
|
void |
init(Processor processor,
ProcessorAction action,
boolean predicate)
This method initialises the expression handler.
|
boolean |
test(BusinessTransaction btxn,
Node node,
Direction direction,
Map<String,?> headers,
Object[] values)
This method evaluates the supplied information against this
expression representing a predicate.
|
getDataValue, isUsesContent, isUsesHeadersgetExpression, getIssues, setExpression, setIssuespublic XMLExpressionHandler(Expression expression)
expression - public void init(Processor processor, ProcessorAction action, boolean predicate)
DataExpressionHandlerinit in class DataExpressionHandlerprocessor - The processoraction - The actionpredicate - Whether the expression is a predicatepublic boolean test(BusinessTransaction btxn, Node node, Direction direction, Map<String,?> headers, Object[] values)
ExpressionHandlertest in class ExpressionHandlerbtxn - The business transactionnode - The nodedirection - The directionheaders - The optional headersvalues - The valuespublic String evaluate(BusinessTransaction btxn, Node node, Direction direction, Map<String,?> headers, Object[] values)
ExpressionHandlerevaluate in class ExpressionHandlerbtxn - The business transactionnode - The nodedirection - The directionheaders - The optional headersvalues - The valuesCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.