org.springframework.web.servlet.view.json.writer.xstream.converter
Class SpringJsonMapConverter
java.lang.Object
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
com.thoughtworks.xstream.converters.collections.MapConverter
org.springframework.web.servlet.view.json.writer.xstream.converter.SpringJsonMapConverter
- All Implemented Interfaces:
- com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
public class SpringJsonMapConverter
- extends com.thoughtworks.xstream.converters.collections.MapConverter
Method Summary |
boolean |
canConvert(Class type)
|
void |
marshal(Object source,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context)
|
Methods inherited from class com.thoughtworks.xstream.converters.collections.MapConverter |
populateMap, unmarshal |
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter |
createCollection, mapper, readItem, writeItem |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringJsonMapConverter
public SpringJsonMapConverter(com.thoughtworks.xstream.mapper.Mapper mapper)
marshal
public void marshal(Object source,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context)
- Specified by:
marshal
in interface com.thoughtworks.xstream.converters.Converter
- Overrides:
marshal
in class com.thoughtworks.xstream.converters.collections.MapConverter
canConvert
public boolean canConvert(Class type)
- Specified by:
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
- Overrides:
canConvert
in class com.thoughtworks.xstream.converters.collections.MapConverter
Copyright © 2010. All Rights Reserved.