Package com.thoughtworks.xstream.core
Class ReferenceByXPathMarshallingStrategy
java.lang.Object
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy
- All Implemented Interfaces:
MarshallingStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
private final int
static int
static int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Field Details
-
RELATIVE
public static int RELATIVE -
ABSOLUTE
public static int ABSOLUTE -
SINGLE_NODE
public static int SINGLE_NODE -
mode
private final int mode
-
-
Constructor Details
-
ReferenceByXPathMarshallingStrategy
public ReferenceByXPathMarshallingStrategy(int mode)
-
-
Method Details
-
createUnmarshallingContext
protected TreeUnmarshaller createUnmarshallingContext(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
-