Package com.sun.el.lang
Class VariableMapperFactory
java.lang.Object
jakarta.el.VariableMapper
com.sun.el.lang.VariableMapperFactory
Creates a VariableMapper for the variables used in the expression.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()
resolveVariable
(String variable) setVariable
(String variable, ValueExpression expression) Assign a ValueExpression to an Jakarta Expression Language variable, replacing any previously assignment to the same variable.
-
Field Details
-
target
-
momento
-
-
Constructor Details
-
VariableMapperFactory
-
-
Method Details
-
create
-
resolveVariable
- Specified by:
resolveVariable
in classVariableMapper
- Parameters:
variable
- The variable name- Returns:
- the ValueExpression assigned to the variable, null if there is no previous assignment to this variable.
-
setVariable
Description copied from class:VariableMapper
Assign 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
.- Specified by:
setVariable
in classVariableMapper
- 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.
-