Top Description Constructors Methods
com.thoughtworks.xstream.core

public abstract Class AbstractTreeMarshallingStrategy

extends Object
implements MarshallingStrategy
Class Inheritance
All Implemented Interfaces
com.thoughtworks.xstream.MarshallingStrategy
Known Direct Subclasses
com.thoughtworks.xstream.core.ReferenceByIdMarshallingStrategy, com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy, com.thoughtworks.xstream.core.TreeMarshallingStrategy
Imports
com.thoughtworks.xstream.MarshallingStrategy, com.thoughtworks.xstream.converters.ConverterLookup, .DataHolder, com.thoughtworks.xstream.io.HierarchicalStreamReader, .HierarchicalStreamWriter, com.thoughtworks.xstream.mapper.Mapper

Basic functionality of a tree based marshalling strategy.
Authors
Joe Walnes, Jörg Schaible
Since
1.3

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract TreeMarshaller
protected abstract TreeUnmarshaller
public void
public Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractTreeMarshallingStrategyback to summary
public AbstractTreeMarshallingStrategy()

Method Detail

createMarshallingContextback to summary
protected abstract TreeMarshaller createMarshallingContext(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper)
createUnmarshallingContextback to summary
protected abstract TreeUnmarshaller createUnmarshallingContext(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
marshalback to summary
public void marshal(HierarchicalStreamWriter writer, Object obj, ConverterLookup converterLookup, Mapper mapper, DataHolder dataHolder)

Implements com.thoughtworks.xstream.MarshallingStrategy.marshal.

unmarshalback to summary
public Object unmarshal(Object root, HierarchicalStreamReader reader, DataHolder dataHolder, ConverterLookup converterLookup, Mapper mapper)

Implements com.thoughtworks.xstream.MarshallingStrategy.unmarshal.