Package com.thoughtworks.xstream.core
Class ReferenceByXPathMarshallingStrategy
- java.lang.Object
-
- com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy
-
- com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy
-
- All Implemented Interfaces:
MarshallingStrategy
public class ReferenceByXPathMarshallingStrategy extends AbstractTreeMarshallingStrategy
-
-
Field Summary
Fields Modifier and Type Field Description static int
ABSOLUTE
private int
mode
static int
RELATIVE
static int
SINGLE_NODE
-
Constructor Summary
Constructors Constructor Description ReferenceByXPathMarshallingStrategy(int mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TreeMarshaller
createMarshallingContext(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper)
protected TreeUnmarshaller
createUnmarshallingContext(java.lang.Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
-
Methods inherited from class com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy
marshal, unmarshal
-
-
-
-
Method Detail
-
createUnmarshallingContext
protected TreeUnmarshaller createUnmarshallingContext(java.lang.Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
- Specified by:
createUnmarshallingContext
in classAbstractTreeMarshallingStrategy
-
createMarshallingContext
protected TreeMarshaller createMarshallingContext(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper)
- Specified by:
createMarshallingContext
in classAbstractTreeMarshallingStrategy
-
-