public class ImmutableMapConverter
extends com.thoughtworks.xstream.converters.collections.MapConverter
ConcurrentHashMap should convert like a map, instead of via serialization.| Constructor and Description |
|---|
ImmutableMapConverter(com.thoughtworks.xstream.mapper.Mapper mapper,
com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider) |
ImmutableMapConverter(com.thoughtworks.xstream.XStream xs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class type) |
protected Object |
createCollection(Class type) |
Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
marshal, populateMap, populateMap, putCurrentEntryIntoMappublic ImmutableMapConverter(com.thoughtworks.xstream.XStream xs)
public ImmutableMapConverter(com.thoughtworks.xstream.mapper.Mapper mapper,
com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider)
public boolean canConvert(Class type)
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatchercanConvert in class com.thoughtworks.xstream.converters.collections.MapConverterpublic Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal in interface com.thoughtworks.xstream.converters.Converterunmarshal in class com.thoughtworks.xstream.converters.collections.MapConverterCopyright © 2019. All rights reserved.