org.apache.commons.el

Class Expression

Known Direct Subclasses:
BinaryOperatorExpression, ComplexValue, ConditionalExpression, FunctionInvocation, Literal, NamedValue, UnaryOperatorExpression

public abstract class Expression
extends java.lang.Object

The abstract class from which all expression types derive.
Version:
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: luehe $
Authors:
Nathan Abramson - Art Technology Group
Shawn Bayern

Method Summary

abstract Object
evaluate(VariableResolver pResolver, FunctionMapper functions, Logger pLogger)
Evaluates the expression in the given context
abstract String
getExpressionString()
Returns the expression in the expression language syntax

Method Details

evaluate

public abstract Object evaluate(VariableResolver pResolver,
                                FunctionMapper functions,
                                Logger pLogger)
            throws ELException
Evaluates the expression in the given context

getExpressionString

public abstract String getExpressionString()
Returns the expression in the expression language syntax

Copyright (c) 2001-2002 - Apache Software Foundation