org.araneaframework.backend.list.memorybased.expression
Class LazyExpression
java.lang.Object
org.araneaframework.backend.list.memorybased.expression.LazyExpression
- All Implemented Interfaces:
- Expression, Serializable
- public class LazyExpression
- extends Object
- implements Expression
Expression that is initialized lazily.
- Since:
- 1.1
- Author:
- Rein Raudjärv
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyExpression
public LazyExpression(ExpressionFactory factory)
getFactory
public ExpressionFactory getFactory()
getExpression
public Expression getExpression()
evaluate
public Object evaluate(VariableResolver resolver)
throws ExpressionEvaluationException
- Description copied from interface:
Expression
- Evaluates this
Expression by returning its value. The
returned value may also be null.
- Specified by:
evaluate in interface Expression
- Parameters:
resolver - Resolver that is used to evalute Variables.
- Returns:
- the value of this
Expression.
- Throws:
ExpressionEvaluationException - when the evaluating fails.