Registers a variable in the EL context's variable mapper. The variable can then be referenced by name in EL expressions. Passing a null expression removes the variable. @param variable the variable name @param expression the ValueExpression associated with the variable, or null to
(String variable, ValueExpression expression)
| 116 | * @param expression the ValueExpression associated with the variable, or {@code null} to remove |
| 117 | */ |
| 118 | public void setVariable(String variable, ValueExpression expression) { |
| 119 | getELContext().getVariableMapper().setVariable(variable, expression); |
| 120 | } |
| 121 | |
| 122 | /** |
| 123 | * Imports a static field or method so it can be referenced by its simple name in EL |
nothing calls this directly
no test coverage detected