Package org.apache.jasper.runtime
Class ExpressionEvaluatorImpl.ExpressionImpl
- java.lang.Object
-
- javax.servlet.jsp.el.Expression
-
- org.apache.jasper.runtime.ExpressionEvaluatorImpl.ExpressionImpl
-
- Enclosing class:
- ExpressionEvaluatorImpl
private static class ExpressionEvaluatorImpl.ExpressionImpl extends Expression
-
-
Field Summary
Fields Modifier and Type Field Description private PageContext
pageContext
private javax.el.ValueExpression
valueExpr
-
Constructor Summary
Constructors Constructor Description ExpressionImpl(javax.el.ValueExpression valueExpr, PageContext pageContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
evaluate(VariableResolver vResolver)
Evaluates an expression that was previously prepared.
-
-
-
Field Detail
-
valueExpr
private javax.el.ValueExpression valueExpr
-
pageContext
private PageContext pageContext
-
-
Constructor Detail
-
ExpressionImpl
ExpressionImpl(javax.el.ValueExpression valueExpr, PageContext pageContext)
-
-
Method Detail
-
evaluate
public java.lang.Object evaluate(VariableResolver vResolver) throws ELException
Description copied from class:Expression
Evaluates an expression that was previously prepared. In some implementations preparing an expression involves full syntactic validation, but others may not do so. Evaluating the expression may raise an ELParseException as well as other ELExceptions due to run-time evaluation.- Specified by:
evaluate
in classExpression
- Parameters:
vResolver
- A VariableResolver instance that can be used at runtime to resolve the name of implicit objects into Objects.- Returns:
- The result of the expression evaluation.
- Throws:
ELException
- Thrown if the expression evaluation failed.
-
-