java.lang.Object
jakarta.el.VariableMapper
com.sun.faces.facelets.el.VariableMapperWrapper
Utility class for wrapping another VariableMapper with a new context, represented by a
Map
.
Modifications occur to the Map instance, but resolve against the wrapped VariableMapper if the Map doesn't contain
the ValueExpression requested.- Version:
- $Id$
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveVariable
(String variable) First tries to resolve agains the inner Map, then the wrapped ValueExpression.setVariable
(String variable, ValueExpression expression) Set the ValueExpression on the inner Map instance.
-
Constructor Details
-
VariableMapperWrapper
- Parameters:
orig
- the original variable mapper to be wrapped
-
-
Method Details
-
resolveVariable
First tries to resolve agains the inner Map, then the wrapped ValueExpression.- 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.
- See Also:
-
setVariable
Set the ValueExpression on the inner Map instance.- 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.
- See Also:
-