org.apache.commons.el

Class ValueSuffix

Known Direct Subclasses:
ArraySuffix

public abstract class ValueSuffix
extends java.lang.Object

Represents an element that can appear as a suffix in a complex value, such as a property or index operator, or a method call (should they ever need to be supported).
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(Object pValue, VariableResolver pResolver, FunctionMapper functions, Logger pLogger)
Evaluates the expression in the given context, operating on the given value.
abstract String
getExpressionString()
Returns the expression in the expression language syntax

Method Details

evaluate

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

getExpressionString

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

Copyright (c) 2001-2002 - Apache Software Foundation