|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.el.Expression
org.apache.commons.el.ComplexValue
public class ComplexValue
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.
Constructor Summary | |
---|---|
ComplexValue(Expression pPrefix,
List pSuffixes)
Constructor |
Method Summary | |
---|---|
Expression |
bindFunctions(javax.servlet.jsp.el.FunctionMapper functions)
Returns an expression with all FunctionInvocation s replaced by
BoundFunctionInvocation s. |
Object |
evaluate(javax.servlet.jsp.el.VariableResolver pResolver,
javax.servlet.jsp.el.FunctionMapper functions)
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComplexValue(Expression pPrefix, List pSuffixes)
Method Detail |
---|
public Expression getPrefix()
public void setPrefix(Expression pPrefix)
public List getSuffixes()
public void setSuffixes(List pSuffixes)
public String getExpressionString()
getExpressionString
in class Expression
public Object evaluate(javax.servlet.jsp.el.VariableResolver pResolver, javax.servlet.jsp.el.FunctionMapper functions) throws javax.servlet.jsp.el.ELException
evaluate
in class Expression
javax.servlet.jsp.el.ELException
public Expression bindFunctions(javax.servlet.jsp.el.FunctionMapper functions) throws javax.servlet.jsp.el.ELException
Expression
FunctionInvocation
s replaced by
BoundFunctionInvocation
s.
bindFunctions
in class Expression
functions
- the functions to use in this transformation
FunctionInvocation
s replaced by
BoundFunctionInvocation
s.
javax.servlet.jsp.el.ELException
- if any of the functions in this Expression
are
not present in functions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |