public class UnaryOperatorExpression extends Expression
An expression representing one or more unary operators on a value
Constructor and Description |
---|
UnaryOperatorExpression(UnaryOperator pOperator,
List pOperators,
Expression pExpression)
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() |
String |
getExpressionString()
Returns the expression in the expression language syntax
|
UnaryOperator |
getOperator() |
List |
getOperators() |
void |
setExpression(Expression pExpression) |
void |
setOperator(UnaryOperator pOperator) |
void |
setOperators(List pOperators) |
public UnaryOperatorExpression(UnaryOperator pOperator, List pOperators, Expression pExpression)
public UnaryOperator getOperator()
public void setOperator(UnaryOperator pOperator)
public List getOperators()
public void setOperators(List pOperators)
public Expression getExpression()
public void setExpression(Expression pExpression)
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 © 2016 JBoss by Red Hat. All rights reserved.