Class ReferenceByXPathMarshallingStrategy
java.lang.Object
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy
- All Implemented Interfaces:
MarshallingStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intprivate final intstatic intstatic int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TreeMarshallercreateMarshallingContext(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper) protected TreeUnmarshallercreateUnmarshallingContext(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper) Methods inherited from class 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:
createUnmarshallingContextin classAbstractTreeMarshallingStrategy
-
createMarshallingContext
protected TreeMarshaller createMarshallingContext(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper) - Specified by:
createMarshallingContextin classAbstractTreeMarshallingStrategy
-