Package org.apache.sling.api.wrappers
Class DeepReadModifiableValueMapDecorator
java.lang.Object
org.apache.sling.api.wrappers.ValueMapDecorator
org.apache.sling.api.wrappers.DeepReadValueMapDecorator
org.apache.sling.api.wrappers.DeepReadModifiableValueMapDecorator
- All Implemented Interfaces:
Map<String,,Object> ModifiableValueMap,ValueMap
public class DeepReadModifiableValueMapDecorator
extends DeepReadValueMapDecorator
implements ModifiableValueMap
A value map wrapper which implements deep reading of properties
based on the resource tree and also supports
ModifiableValueMap.- Since:
- 2.5 (Sling API Bundle 2.7.0)
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDeepReadModifiableValueMapDecorator(Resource resource, ValueMap base) Creates a modifiable decorator supporting deep reads. -
Method Summary
Methods inherited from class org.apache.sling.api.wrappers.DeepReadValueMapDecorator
containsKey, get, get, getMethods inherited from class org.apache.sling.api.wrappers.ValueMapDecorator
clear, containsValue, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
DeepReadModifiableValueMapDecorator
Creates a modifiable decorator supporting deep reads.- Parameters:
resource- The resource used as the starting point for deep readsbase- The backing value map, which must support the desired modifications
-