Class MapAccessor

java.lang.Object
org.springframework.expression.spel.support.MapAccessor
org.springframework.context.expression.MapAccessor
All Implemented Interfaces:
Opcodes, PropertyAccessor, CompilablePropertyAccessor, TargetedAccessor

@Deprecated(since="7.0", forRemoval=true) public class MapAccessor extends MapAccessor
Deprecated, for removal: This API element is subject to removal in a future version.
as of Spring Framework 7.0 in favor of MapAccessor.
SpEL PropertyAccessor that knows how to access the keys of a standard Map.
Since:
3.0
Author:
Juergen Hoeller, Andy Clement
  • Constructor Details

    • MapAccessor

      public MapAccessor()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a new MapAccessor for reading as well as writing.
      See Also:
    • MapAccessor

      public MapAccessor(boolean allowWrite)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a new MapAccessor for reading and possibly also writing.
      Parameters:
      allowWrite - whether to allow write operations on a target instance
      Since:
      6.2
      See Also: