Package javax.el

Class StandardELContext.DefaultVariableMapper

java.lang.Object
javax.el.VariableMapper
javax.el.StandardELContext.DefaultVariableMapper
Enclosing class:
StandardELContext

private static class StandardELContext.DefaultVariableMapper extends VariableMapper
  • Field Details

  • Constructor Details

    • DefaultVariableMapper

      private DefaultVariableMapper()
  • Method Details

    • resolveVariable

      public ValueExpression resolveVariable(String variable)
      Specified by:
      resolveVariable in class VariableMapper
      Parameters:
      variable - The variable name
      Returns:
      the ValueExpression assigned to the variable, null if there is no previous assignment to this variable.
    • setVariable

      public ValueExpression setVariable(String variable, ValueExpression expression)
      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 is null.
      Specified by:
      setVariable in class VariableMapper
      Parameters:
      variable - The variable name
      expression - 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.