public class ModifiableMappedValueMapDecorator extends ModifiableValueMapDecorator
By default the following properties are mapped.
Constructor and Description |
---|
ModifiableMappedValueMapDecorator(java.util.Map<java.lang.String,java.lang.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(java.lang.Object key) |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> |
entrySet() |
java.lang.Object |
get(java.lang.Object key) |
java.util.Set<java.lang.String> |
keySet() |
static java.lang.String |
mapProperty(java.lang.String unmappedName)
Returns the unmapped property name for the provided
unmappedName . |
java.lang.Object |
put(java.lang.String key,
java.lang.Object value) |
void |
putAll(java.util.Map<? extends java.lang.String,?> t) |
static java.lang.String |
unmapProperty(java.lang.String mappedName)
Returns the unmapped property name for the provided
mappedName . |
public ModifiableMappedValueMapDecorator(java.util.Map<java.lang.String,java.lang.Object> base)
base
- Wrapped objectpublic ModifiableMappedValueMapDecorator(ValueMap base)
base
- Wrapped objectpublic java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map<java.lang.String,java.lang.Object>
get
in class ValueMapDecorator
public java.lang.Object put(java.lang.String key, java.lang.Object value)
put
in interface java.util.Map<java.lang.String,java.lang.Object>
put
in class ValueMapDecorator
public void putAll(java.util.Map<? extends java.lang.String,?> t)
putAll
in interface java.util.Map<java.lang.String,java.lang.Object>
putAll
in class ValueMapDecorator
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map<java.lang.String,java.lang.Object>
containsKey
in class ValueMapDecorator
public java.util.Set<java.lang.String> keySet()
keySet
in interface java.util.Map<java.lang.String,java.lang.Object>
keySet
in class ValueMapDecorator
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> entrySet()
entrySet
in interface java.util.Map<java.lang.String,java.lang.Object>
entrySet
in class ValueMapDecorator
public static java.lang.String mapProperty(java.lang.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 java.lang.String unmapProperty(java.lang.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 - 2020 Adobe Systems Incorporated. All Rights Reserved"