Class ComplexValue
- java.lang.Object
-
- org.apache.taglibs.standard.lang.jstl.Expression
-
- org.apache.taglibs.standard.lang.jstl.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: kchung $
- Author:
- Nathan Abramson - Art Technology Group, Shawn Bayern
-
-
Constructor Summary
Constructors Constructor Description ComplexValue(Expression pPrefix, List pSuffixes)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(Object pContext, VariableResolver pResolver, Map functions, String defaultPrefix, Logger pLogger)
Evaluates by evaluating the prefix, then applying the suffixesString
getExpressionString()
Returns the expression in the expression language syntaxExpression
getPrefix()
List
getSuffixes()
void
setPrefix(Expression pPrefix)
void
setSuffixes(List pSuffixes)
-
-
-
Constructor Detail
-
ComplexValue
public ComplexValue(Expression pPrefix, List pSuffixes)
Constructor
-
-
Method Detail
-
getPrefix
public Expression getPrefix()
-
setPrefix
public void setPrefix(Expression pPrefix)
-
getSuffixes
public List getSuffixes()
-
setSuffixes
public void setSuffixes(List pSuffixes)
-
getExpressionString
public String getExpressionString()
Returns the expression in the expression language syntax- Specified by:
getExpressionString
in classExpression
-
evaluate
public Object evaluate(Object pContext, VariableResolver pResolver, Map functions, String defaultPrefix, Logger pLogger) throws ELException
Evaluates by evaluating the prefix, then applying the suffixes- Specified by:
evaluate
in classExpression
- Throws:
ELException
-
-