java.lang.Object
jakarta.el.VariableMapper
The interface to a map between Jakarta Expression Language variables and the Jakarta Expression Language expressions
 they are associated with.
- Since:
- Jakarta Server Pages 2.1
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract ValueExpressionresolveVariable(String variable) abstract ValueExpressionsetVariable(String variable, ValueExpression expression) Assign a ValueExpression to an Jakarta Expression Language variable, replacing any previously assignment to the same variable.
- 
Constructor Details- 
VariableMapperpublic 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.
 
- 
setVariableAssign a ValueExpression to an Jakarta Expression Language variable, replacing any previously assignment to the same variable. The assignment for the variable is removed if the expression isnull.- Parameters:
- variable- The variable name
- expression- 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.
 
 
-