public class NamedValue extends Expression
Represents a name that can be used as the first element of a value.
| Constructor and Description |
|---|
NamedValue(String pName)
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 looking up the name in the VariableResolver
|
String |
getExpressionString()
Returns the expression in the expression language syntax
|
String |
getName() |
public NamedValue(String pName)
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.