Package javax.el
Class VariableMapper
java.lang.Object
javax.el.VariableMapper
The interface to a map between EL variables and the EL expressions
they are associated with.
- Since:
- JSP 2.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract ValueExpression
resolveVariable
(String variable) abstract ValueExpression
setVariable
(String variable, ValueExpression expression) Assign a ValueExpression to an EL variable, replacing any previously assignment to the same variable.
-
Constructor Details
-
VariableMapper
public VariableMapper()
-
-
Method Details
-
resolveVariable
- Parameters:
variable
- The variable name- Returns:
- the ValueExpression assigned to the variable, null if there is no previous assignment to this variable.
-
setVariable
Assign a ValueExpression to an EL variable, replacing any previously assignment to the same variable. The assignment for the variable is removed if the expression isnull
.- Parameters:
variable
- The variable nameexpression
- The ValueExpression to be assigned to the variable.- Returns:
- The previous ValueExpression assigned to this variable, null if there is no previous assignment to this variable.
-