java.lang.Object
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
com.thoughtworks.xstream.converters.collections.MapConverter
All Implemented Interfaces:
Converter, ConverterMatcher
Direct Known Subclasses:
EnumMapConverter, NamedMapConverter, SingletonMapConverter, TreeMapConverter

public class MapConverter extends AbstractCollectionConverter
Converts a java.util.Map to XML, specifying an 'entry' element with 'key' and 'value' children.

Note: 'key' and 'value' is not the name of the generated tag. The children are serialized as normal elements and the implementation expects them in the order 'key'/'value'.

Supports java.util.HashMap, java.util.Hashtable, java.util.LinkedHashMap and java.util.concurrent.ConcurrentHashMap.