public abstract class Literal extends Expression
An expression representing a literal value
Modifier and Type | Method and Description |
---|---|
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
|
Object |
getValue() |
void |
setValue(Object pValue) |
getExpressionString
public Literal(Object pValue)
public Object getValue()
public void setValue(Object pValue)
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 transformationFunctionInvocation
s replaced by
BoundFunctionInvocation
s.javax.servlet.jsp.el.ELException
- if any of the functions in this Expression
are
not present in functions
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.