- java.lang.Object
-
- jakarta.el.VariableMapper
-
- org.omnifaces.el.DelegatingVariableMapper
-
public class DelegatingVariableMapper extends VariableMapper
- Since:
- 2.1
- Author:
- Arjan Tijms.
-
-
Constructor Summary
Constructors Constructor Description DelegatingVariableMapper(VariableMapper wrapped)Construct delegating variable mapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueExpressionresolveVariable(String name)ValueExpressionresolveWrappedVariable(String name)Resolve wrapped variable of given name.ValueExpressionsetVariable(String name, ValueExpression expression)ValueExpressionsetWrappedVariable(String name, ValueExpression expression)Sets wrapped variable of given name with given value expression.
-
-
-
Constructor Detail
-
DelegatingVariableMapper
public DelegatingVariableMapper(VariableMapper wrapped)
Construct delegating variable mapper.- Parameters:
wrapped- The variable mapper to be wrapped.
-
-
Method Detail
-
resolveVariable
public ValueExpression resolveVariable(String name)
- Specified by:
resolveVariablein classVariableMapper
-
resolveWrappedVariable
public ValueExpression resolveWrappedVariable(String name)
Resolve wrapped variable of given name.- Parameters:
name- Name of wrapped variable.- Returns:
- Resolved wrapped variable.
-
setVariable
public ValueExpression setVariable(String name, ValueExpression expression)
- Specified by:
setVariablein classVariableMapper
-
setWrappedVariable
public ValueExpression setWrappedVariable(String name, ValueExpression expression)
Sets wrapped variable of given name with given value expression.- Parameters:
name- Name of wrapped variable.expression- Value expression of wrapped variable.- Returns:
- The wrapped variable.
-
-