Class MapAccessor
java.lang.Object
pro.verron.officestamper.preset.MapAccessor
- All Implemented Interfaces:
org.springframework.expression.PropertyAccessor, org.springframework.expression.TargetedAccessor
MapAccessor is an implementation of the
PropertyAccessor
interface,
designed for accessing and manipulating properties specifically on Map objects.
It provides functionality to read and write entries in a Map based on the
property name provided.-
Constructor Details
-
MapAccessor
public MapAccessor()Constructs a new instance ofMapAccessor
.
-
-
Method Details
-
getSpecificTargetClasses
- Specified by:
getSpecificTargetClasses
in interfaceorg.springframework.expression.TargetedAccessor
-
canRead
-
read
public org.springframework.expression.TypedValue read(org.springframework.expression.EvaluationContext context, @Nullable Object target, String name) throws org.springframework.expression.AccessException - Specified by:
read
in interfaceorg.springframework.expression.PropertyAccessor
- Throws:
org.springframework.expression.AccessException
-
canWrite
-
write
-