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 |
|---|---|
Expression |
bindFunctions(FunctionMapper functions)
Returns an expression with all
FunctionInvocations replaced by
BoundFunctionInvocations. |
Object |
evaluate(VariableResolver pResolver,
FunctionMapper functions)
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 Expressionpublic Object evaluate(VariableResolver pResolver, FunctionMapper functions) throws ELException
evaluate in class ExpressionELExceptionpublic Expression bindFunctions(FunctionMapper functions) throws ELException
ExpressionFunctionInvocations replaced by
BoundFunctionInvocations.bindFunctions in class Expressionfunctions - the functions to use in this transformationFunctionInvocations replaced by
BoundFunctionInvocations.ELException - if any of the functions in this Expression are
not present in functionsCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.