public class MapEntryCombiner extends Object implements Map, Serializable
DefaultBeanAssembler
along with ChildSingletonMapDefinitionParser
.
It creates a map with a single key/value pair. This may seem odd, but the result is not
manipulated within the assembler - that means that, unlike
ChildMapEntryDefinitionParser
, this element
can contain nested values. Note that most uses will set
PropertyConfiguration.isCollection(String)
so that several entries can be combined.Constructor and Description |
---|
MapEntryCombiner() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set |
entrySet() |
Object |
get(Object key) |
Object |
getKey() |
Object |
getValue() |
boolean |
isEmpty() |
Set |
keySet() |
Object |
put(Object key,
Object value) |
void |
putAll(Map t) |
Object |
remove(Object key) |
void |
setKey(Object key) |
void |
setValue(Object value) |
int |
size() |
Collection |
values() |
public static final String KEY
public static final String VALUE
public Object getKey()
public void setKey(Object key)
public Object getValue()
public void setValue(Object value)
public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object value)
containsValue
in interface Map
public Collection values()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.