public class BinaryOperatorExpression extends Expression
An expression representing a binary operator on a value
Constructor and Description |
---|
BinaryOperatorExpression(Expression pExpression,
List pOperators,
List pExpressions)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(Object pContext,
VariableResolver pResolver,
Map functions,
String defaultPrefix,
Logger pLogger)
Evaluates to the literal value
|
Expression |
getExpression() |
List |
getExpressions() |
String |
getExpressionString()
Returns the expression in the expression language syntax
|
List |
getOperators() |
void |
setExpression(Expression pExpression) |
void |
setExpressions(List pExpressions) |
void |
setOperators(List pOperators) |
public BinaryOperatorExpression(Expression pExpression, List pOperators, List pExpressions)
public Expression getExpression()
public void setExpression(Expression pExpression)
public List getOperators()
public void setOperators(List pOperators)
public List getExpressions()
public void setExpressions(List pExpressions)
public String getExpressionString()
getExpressionString
in class Expression
public Object evaluate(Object pContext, VariableResolver pResolver, Map functions, String defaultPrefix, Logger pLogger) throws ELException
evaluate
in class Expression
ELException
Copyright © 2018 JBoss by Red Hat. All rights reserved.