com.thoughtworks.xstream.core
Class ReferenceByXPathMarshallingStrategy

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

public class ReferenceByXPathMarshallingStrategy
extends AbstractTreeMarshallingStrategy


Field Summary
static int ABSOLUTE
           
static int RELATIVE
           
static int SINGLE_NODE
           
 
Constructor Summary
ReferenceByXPathMarshallingStrategy(int mode)
           
 
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
 

Field Detail

RELATIVE

public static int RELATIVE

ABSOLUTE

public static int ABSOLUTE

SINGLE_NODE

public static int SINGLE_NODE
Constructor Detail

ReferenceByXPathMarshallingStrategy

public ReferenceByXPathMarshallingStrategy(int mode)
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.