com.thoughtworks.xstream.core
Class ReferenceByIdMarshallingStrategy

java.lang.Object
  extended by com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy
      extended by com.thoughtworks.xstream.core.ReferenceByIdMarshallingStrategy
All Implemented Interfaces:
MarshallingStrategy

public class ReferenceByIdMarshallingStrategy
extends AbstractTreeMarshallingStrategy


Constructor Summary
ReferenceByIdMarshallingStrategy()
           
 
Method Summary
protected  TreeMarshaller createMarshallingContext(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper)
           
protected  TreeUnmarshaller createUnmarshallingContext(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
           
 
Methods inherited from class com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy
marshal, unmarshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceByIdMarshallingStrategy

public ReferenceByIdMarshallingStrategy()
Method Detail

createUnmarshallingContext

protected TreeUnmarshaller createUnmarshallingContext(Object root,
                                                      HierarchicalStreamReader reader,
                                                      ConverterLookup converterLookup,
                                                      Mapper mapper)
Specified by:
createUnmarshallingContext in class AbstractTreeMarshallingStrategy

createMarshallingContext

protected TreeMarshaller createMarshallingContext(HierarchicalStreamWriter writer,
                                                  ConverterLookup converterLookup,
                                                  Mapper mapper)
Specified by:
createMarshallingContext in class AbstractTreeMarshallingStrategy


Copyright © 2004-2014 XStream. All Rights Reserved.