Name
Expression
Synopsis
The Expression
class represents an EL expression,
which may or may not be syntactically valid.
Synopsis
Class name: |
javax.servlet.jsp.el.Expression |
Extends: |
None |
Implements: |
None |
Implemented by: |
Internal container-dependent class; most containers use the reference implementation of the class (developed in the Apache Jakarta project) |
Constructors
-
public Expression( )
Creates a new
Expression
instance.
Methods
-
public abstract Object evaluate(VariableResolver variableResolver) throws ELException
Evaluates the expression using the variables provided by the
VariableResolver
. Some implementations may need to parse the expression when this method is called, so the caller should be prepared to handle parse exceptions as well as runtime exceptions.
Get JavaServer Pages, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.