public class ModifiableMappedValueMapDecorator extends ModifiableValueMapDecorator
By default the following properties are mapped.
| Constructor and Description |
|---|
ModifiableMappedValueMapDecorator(Map<String,Object> base)
Creates a new wrapper around a given map.
|
ModifiableMappedValueMapDecorator(ValueMap base)
Creates a new wrapper around a given map.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
Set<String> |
keySet() |
static String |
mapProperty(String unmappedName)
Returns the unmapped property name for the provided
unmappedName. |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> t) |
static String |
unmapProperty(String mappedName)
Returns the unmapped property name for the provided
mappedName. |
clear, containsValue, equals, get, get, hashCode, isEmpty, remove, size, toString, valuesclear, compute, computeIfAbsent, computeIfPresent, containsValue, equals, forEach, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic ModifiableMappedValueMapDecorator(Map<String,Object> base)
base - Wrapped objectpublic ModifiableMappedValueMapDecorator(ValueMap base)
base - Wrapped objectpublic boolean containsKey(Object key)
containsKey in interface Map<String,Object>containsKey in class ValueMapDecoratorpublic static String mapProperty(String unmappedName)
unmappedName.
The implementation of this method maps the properties
jcr:title,jcr:description,jcr:language to
dc:title,dc:description,dc:language.unmappedName - Unmapped property namepublic static String unmapProperty(String mappedName)
mappedName.
The implementation of this method maps the properties
dc:title,dc:description,dc:language to
jcr:title,jcr:description,jcr:language.mappedName - Mapped property nameCopyright © 2010 - 2020 Adobe. All Rights Reserved