org.apache.commons.el

Class ComplexValue

public class ComplexValue extends Expression

Represents a dynamic value, which consists of a prefix and an optional set of ValueSuffix elements. A prefix is something like an identifier, and a suffix is something like a "property of" or "indexed element of" operator.

Version: $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: luehe $

Author: Nathan Abramson - Art Technology Group Shawn Bayern

Field Summary
ExpressionmPrefix
ListmSuffixes
Constructor Summary
ComplexValue(Expression pPrefix, List pSuffixes)
Constructor
Method Summary
Objectevaluate(VariableResolver pResolver, FunctionMapper functions, Logger pLogger)
Evaluates by evaluating the prefix, then applying the suffixes
StringgetExpressionString()
Returns the expression in the expression language syntax
ExpressiongetPrefix()
ListgetSuffixes()
voidsetPrefix(Expression pPrefix)
voidsetSuffixes(List pSuffixes)

Field Detail

mPrefix

Expression mPrefix

mSuffixes

List mSuffixes

Constructor Detail

ComplexValue

public ComplexValue(Expression pPrefix, List pSuffixes)
Constructor

Method Detail

evaluate

public Object evaluate(VariableResolver pResolver, FunctionMapper functions, Logger pLogger)
Evaluates by evaluating the prefix, then applying the suffixes

getExpressionString

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

getPrefix

public Expression getPrefix()

getSuffixes

public List getSuffixes()

setPrefix

public void setPrefix(Expression pPrefix)

setSuffixes

public void setSuffixes(List pSuffixes)
Copyright (c) 2001-2002 - Apache Software Foundation