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 . |
public 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 ValueMapDecorator
public 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 name"Copyright © 2010 - 2016 Adobe Systems Incorporated. All Rights Reserved"