Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.config.spring.parsers.assembly
Class MapEntryCombiner

    java.lang.Object
      org.mule.config.spring.parsers.assembly.MapEntryCombiner

All Implemented Interfaces:
  Map

    public class MapEntryCombiner

extends Object
implements Map

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.

Nested Class Summary

Nested classes/interfaces inherited from interface java.util.Map
`Map.Entry<K,V>`

Field Summary
`static String` | `KEY`
`static String` | `VALUE`

Constructor Summary
`MapEntryCombiner()`

Method Summary
`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()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface java.util.Map
`equals, hashCode`

Field Detail

### KEY

    public static final String KEY

See Also:
  Constant Field Values

### VALUE

    public static final String VALUE

See Also:
  Constant Field Values

Constructor Detail

### MapEntryCombiner

    public MapEntryCombiner()

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.