java.lang.Object
jakarta.el.VariableMapper
com.sun.faces.facelets.el.DefaultVariableMapper
Default instance of a VariableMapper backed by a Map
- Version:
- $Id$
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveVariable
(String name) setVariable
(String name, ValueExpression expression) Assign a ValueExpression to an Jakarta Expression Language variable, replacing any previously assignment to the same variable.
-
Constructor Details
-
DefaultVariableMapper
public DefaultVariableMapper()
-
-
Method Details
-
resolveVariable
- Specified by:
resolveVariable
in classVariableMapper
- Parameters:
name
- The variable name- Returns:
- the ValueExpression assigned to the variable, null if there is no previous assignment to this variable.
- See Also:
-
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:
name
- 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.
- See Also:
-