public abstract class Expression extends Object
The abstract class from which all expression types derive.
Constructor and Description |
---|
Expression() |
Modifier and Type | Method and Description |
---|---|
abstract Expression |
bindFunctions(FunctionMapper functions)
Returns an expression with all
FunctionInvocation s replaced by
BoundFunctionInvocation s. |
abstract Object |
evaluate(VariableResolver pResolver,
FunctionMapper functions)
Evaluates the expression in the given context
|
abstract String |
getExpressionString()
Returns the expression in the expression language syntax
|
public Expression()
public abstract String getExpressionString()
public abstract Object evaluate(VariableResolver pResolver, FunctionMapper functions) throws ELException
ELException
public abstract Expression bindFunctions(FunctionMapper functions) throws ELException
FunctionInvocation
s replaced by
BoundFunctionInvocation
s.functions
- the functions to use in this transformationFunctionInvocation
s replaced by
BoundFunctionInvocation
s.ELException
- if any of the functions in this Expression
are
not present in functions
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.