org.mule.config.spring.parsers.assembly
Class MapEntryCombiner
java.lang.Object
org.mule.config.spring.parsers.assembly.MapEntryCombiner
- All Implemented Interfaces:
- Serializable, Map
public class MapEntryCombiner
- extends Object
- implements Map, Serializable
This is used internally by 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.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY
public static final String KEY
- See Also:
- Constant Field Values
VALUE
public static final String VALUE
- See Also:
- Constant Field Values
MapEntryCombiner
public MapEntryCombiner()
getKey
public Object getKey()
setKey
public void setKey(Object key)
getValue
public Object getValue()
setValue
public void setValue(Object value)
size
public int size()
- Specified by:
size
in interface Map
clear
public void clear()
- Specified by:
clear
in interface Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interface Map
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interface Map
values
public Collection values()
- Specified by:
values
in interface Map
putAll
public void putAll(Map t)
- Specified by:
putAll
in interface Map
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map
keySet
public Set keySet()
- Specified by:
keySet
in interface Map
get
public Object get(Object key)
- Specified by:
get
in interface Map
remove
public Object remove(Object key)
- Specified by:
remove
in interface Map
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface Map
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.