public class DeepModifiableValueMapDecorator extends ModifiableValueMapDecorator
| Constructor and Description |
|---|
DeepModifiableValueMapDecorator(Resource resource,
java.util.Map<java.lang.String,java.lang.Object> base) |
DeepModifiableValueMapDecorator(Resource resource,
java.util.Map<java.lang.String,java.lang.Object> base,
java.lang.String[] subnodes) |
| 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) |
<T> T |
get(java.lang.String name,
java.lang.Class<T> type)
Get a named property and convert it into the given type.
|
<T> T |
get(java.lang.String name,
T defaultValue)
Get a named property and convert it into the given type.
|
java.util.Set<java.lang.String> |
keySet() |
java.lang.Object |
put(java.lang.String key,
java.lang.Object value) |
void |
putAll(java.util.Map<? extends java.lang.String,?> t) |
java.util.Collection<java.lang.Object> |
values() |
clear, containsValue, equals, hashCode, isEmpty, remove, size, toStringpublic DeepModifiableValueMapDecorator(Resource resource, java.util.Map<java.lang.String,java.lang.Object> base, java.lang.String[] subnodes)
public DeepModifiableValueMapDecorator(Resource resource, java.util.Map<java.lang.String,java.lang.Object> base)
public <T> T get(java.lang.String name,
java.lang.Class<T> type)
null in this
case.get in interface ValueMapget in class ValueMapDecoratorname - The name of the propertytype - The class of the typenull if
non existing or can't be converted.public <T> T get(java.lang.String name,
T defaultValue)
get in interface ValueMapget in class ValueMapDecoratorname - The name of the propertydefaultValue - The default value to use if the named property does
not exist or cannot be converted to the requested type. The
default value is also used to define the type to convert the
value to. If this is null any existing property is
not converted.public boolean containsKey(java.lang.Object key)
containsKey in interface java.util.Map<java.lang.String,java.lang.Object>containsKey in class ValueMapDecoratorpublic java.lang.Object get(java.lang.Object key)
get in interface java.util.Map<java.lang.String,java.lang.Object>get in class ValueMapDecoratorpublic 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 ValueMapDecoratorpublic 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 ValueMapDecoratorpublic java.util.Set<java.lang.String> keySet()
keySet in interface java.util.Map<java.lang.String,java.lang.Object>keySet in class ValueMapDecoratorpublic java.util.Collection<java.lang.Object> values()
values in interface java.util.Map<java.lang.String,java.lang.Object>values in class ValueMapDecoratorpublic 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"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"