Class MapVariableMapper

java.lang.Object
jakarta.el.VariableMapper
io.micronaut.el.runtime.MapVariableMapper

public final class MapVariableMapper extends jakarta.el.VariableMapper
A VariableMapper keeping the variables of the section 1.19 of the Jakarta Expression Language specification in a map.
Since:
1.0
Author:
Denis Stepanov
  • Constructor Details

    • MapVariableMapper

      public MapVariableMapper()
  • Method Details

    • isEmpty

      public boolean isEmpty()
      Returns:
      Whether the mapper holds no variable
    • resolveVariable

      public @Nullable jakarta.el.ValueExpression resolveVariable(String variable)
      Specified by:
      resolveVariable in class jakarta.el.VariableMapper
    • setVariable

      public @Nullable jakarta.el.ValueExpression setVariable(String variable, @Nullable jakarta.el.ValueExpression expression)
      Specified by:
      setVariable in class jakarta.el.VariableMapper