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 $
Authors:
Nathan Abramson - Art Technology Group
Shawn Bayern

Field Summary

(package private) Expression
mPrefix
(package private) List
mSuffixes

Constructor Summary

ComplexValue(Expression pPrefix, List pSuffixes)
Constructor

Method Summary

Object
evaluate(VariableResolver pResolver, FunctionMapper functions, Logger pLogger)
Evaluates by evaluating the prefix, then applying the suffixes
String
getExpressionString()
Returns the expression in the expression language syntax
Expression
getPrefix()
List
getSuffixes()
void
setPrefix(Expression pPrefix)
void
setSuffixes(List pSuffixes)

Methods inherited from class org.apache.commons.el.Expression

evaluate, getExpressionString

Field Details

mPrefix

(package private)  Expression mPrefix

mSuffixes

(package private)  List mSuffixes

Constructor Details

ComplexValue

public ComplexValue(Expression pPrefix,
                    List pSuffixes)
Constructor

Method Details

evaluate

public Object evaluate(VariableResolver pResolver,
                       FunctionMapper functions,
                       Logger pLogger)
            throws ELException
Evaluates by evaluating the prefix, then applying the suffixes
Overrides:
evaluate in interface Expression

getExpressionString

public String getExpressionString()
Returns the expression in the expression language syntax
Overrides:
getExpressionString in interface Expression

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