|
||||||||||
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.UnaryOperatorExpression
public class UnaryOperatorExpression
An expression representing one or more unary operators on a value
Constructor Summary | |
---|---|
UnaryOperatorExpression(UnaryOperator pOperator,
List pOperators,
Expression pExpression)
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 to the literal value |
Expression |
getExpression()
|
String |
getExpressionString()
Returns the expression in the expression language syntax |
UnaryOperator |
getOperator()
|
List |
getOperators()
|
void |
setExpression(Expression pExpression)
|
void |
setOperator(UnaryOperator pOperator)
|
void |
setOperators(List pOperators)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnaryOperatorExpression(UnaryOperator pOperator, List pOperators, Expression pExpression)
Method Detail |
---|
public UnaryOperator getOperator()
public void setOperator(UnaryOperator pOperator)
public List getOperators()
public void setOperators(List pOperators)
public Expression getExpression()
public void setExpression(Expression pExpression)
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 |