public class ComplexValue extends Expression
Represents a dynamic value, which consists of a prefix and an optional set of ValueSuffix elements. A prefix is something like an identifier, and a suffix is something like a "property of" or "indexed element of" operator.
Constructor and Description |
---|
ComplexValue(Expression pPrefix,
List pSuffixes)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(Object pContext,
VariableResolver pResolver,
Map functions,
String defaultPrefix,
Logger pLogger)
Evaluates by evaluating the prefix, then applying the suffixes
|
String |
getExpressionString()
Returns the expression in the expression language syntax
|
Expression |
getPrefix() |
List |
getSuffixes() |
void |
setPrefix(Expression pPrefix) |
void |
setSuffixes(List pSuffixes) |
public ComplexValue(Expression pPrefix, List pSuffixes)
public Expression getPrefix()
public void setPrefix(Expression pPrefix)
public List getSuffixes()
public void setSuffixes(List pSuffixes)
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.