org.springframework.web.servlet.view.json.writer.xstream.core
Class SpringJsonMarshallingStrategy

java.lang.Object
  extended by com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy
      extended by org.springframework.web.servlet.view.json.writer.xstream.core.SpringJsonMarshallingStrategy
All Implemented Interfaces:
com.thoughtworks.xstream.MarshallingStrategy

public class SpringJsonMarshallingStrategy
extends com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy


Field Summary
static int ABSOLUTE
           
static int RELATIVE
           
 
Constructor Summary
SpringJsonMarshallingStrategy(int mode, boolean convertAllMapValues, java.lang.String rootname)
           
 
Method Summary
protected  com.thoughtworks.xstream.core.TreeMarshaller createMarshallingContext(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.ConverterLookup converterLookup, com.thoughtworks.xstream.mapper.Mapper mapper)
           
protected  com.thoughtworks.xstream.core.TreeUnmarshaller createUnmarshallingContext(java.lang.Object root, com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.ConverterLookup converterLookup, com.thoughtworks.xstream.mapper.Mapper mapper)
           
 
Methods inherited from class com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy
marshal, marshal, unmarshal, unmarshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RELATIVE

public static int RELATIVE

ABSOLUTE

public static int ABSOLUTE
Constructor Detail

SpringJsonMarshallingStrategy

public SpringJsonMarshallingStrategy(int mode,
                                     boolean convertAllMapValues,
                                     java.lang.String rootname)
Method Detail

createUnmarshallingContext

protected com.thoughtworks.xstream.core.TreeUnmarshaller createUnmarshallingContext(java.lang.Object root,
                                                                                    com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
                                                                                    com.thoughtworks.xstream.converters.ConverterLookup converterLookup,
                                                                                    com.thoughtworks.xstream.mapper.Mapper mapper)
Specified by:
createUnmarshallingContext in class com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy

createMarshallingContext

protected com.thoughtworks.xstream.core.TreeMarshaller createMarshallingContext(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                                                                                com.thoughtworks.xstream.converters.ConverterLookup converterLookup,
                                                                                com.thoughtworks.xstream.mapper.Mapper mapper)
Specified by:
createMarshallingContext in class com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy


Copyright © 2010. All Rights Reserved.