- 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 ValueExpression
resolveVariable(String name)
ValueExpression
resolveWrappedVariable(String name)
Resolve wrapped variable of given name.ValueExpression
setVariable(String name, ValueExpression expression)
ValueExpression
setWrappedVariable(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:
resolveVariable
in 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:
setVariable
in 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.
-
-