org.springframework.web.servlet.view.json.writer.xstream.converter
Class SpringJsonMapConverter

java.lang.Object
  extended by com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
      extended by com.thoughtworks.xstream.converters.collections.MapConverter
          extended by 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


Constructor Summary
SpringJsonMapConverter(com.thoughtworks.xstream.mapper.Mapper mapper)
           
 
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
 

Constructor Detail

SpringJsonMapConverter

public SpringJsonMapConverter(com.thoughtworks.xstream.mapper.Mapper mapper)
Method Detail

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.