|
||||||||||
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.ExpressionString
public class ExpressionString
Represents an expression String consisting of a mixture of Strings and Expressions.
Constructor Summary | |
---|---|
ExpressionString(Object[] pElements)
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 the expression string by evaluating each element, converting it to a String (using toString, or "" for null values) and concatenating the results into a single String. |
Object[] |
getElements()
|
String |
getExpressionString()
Returns the expression in the expression language syntax |
void |
setElements(Object[] pElements)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpressionString(Object[] pElements)
Method Detail |
---|
public Object[] getElements()
public void setElements(Object[] pElements)
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 String getExpressionString()
getExpressionString
in class Expression
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 |