javax.servlet.jsp.el |
Classes and interfaces for the JSP 2.0 Expression Language API.
The JavaServer Pages(tm) (JSP) 2.0 specification provides a portable
API for evaluating "EL Expressions". As of JSP 2.0, EL expressions can
be placed directly in the template text of JSP pages and tag files.
This package contains a number of classes and interfaces that describe
and define programmatic access to the Expression Language evaluator.
This API can also be used by an implementation of JSP to evaluate the
expressions, but other implementations, like open-coding into Java
bytecodes, are allowed. This package is intended to have no dependencies
on other portions of the JSP 2.0 specification.
|
Java Source File Name | Type | Comment |
ELException.java | Class | Represents any of the exception conditions that arise during the
operation evaluation of the evaluator. |
ELParseException.java | Class | Represents a parsing error encountered while parsing an EL expression. |
Expression.java | Class | The abstract class for a prepared expression.
An instance of an Expression can be obtained via from an
ExpressionEvaluator instance.
An Expression may or not have done a syntactic parse of the expression.
A client invoking the evaluate() method should be ready for the case
where ELParseException exceptions are raised. |
ExpressionEvaluator.java | Class | The abstract base class for an expression-language evaluator.
Classes that implement an expression language expose their functionality
via this abstract class.
An instance of the ExpressionEvaluator can be obtained via the
JspContext / PageContext
The parseExpression() and evaluate() methods must be thread-safe. |
FunctionMapper.java | Interface | The interface to a map between EL function names and methods.
Classes implementing this interface may, for instance, consult tag library
information to resolve the map. |
ImplicitObjectELResolver.java | Class | |
ScopedAttributeELResolver.java | Class | |
VariableResolver.java | Interface | This class is used to customize the way an ExpressionEvaluator resolves
variable references at evaluation time. |