public abstract class AbstractTreeMarshallingStrategy extends Object implements MarshallingStrategy
Constructor and Description |
---|
AbstractTreeMarshallingStrategy() |
Modifier and Type | Method and Description |
---|---|
protected abstract TreeMarshaller |
createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected abstract TreeUnmarshaller |
createUnmarshallingContext(Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
void |
marshal(HierarchicalStreamWriter writer,
Object obj,
ConverterLookup converterLookup,
Mapper mapper,
DataHolder dataHolder) |
Object |
unmarshal(Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
ConverterLookup converterLookup,
Mapper mapper) |
public Object unmarshal(Object root, HierarchicalStreamReader reader, DataHolder dataHolder, ConverterLookup converterLookup, Mapper mapper)
unmarshal
in interface MarshallingStrategy
public void marshal(HierarchicalStreamWriter writer, Object obj, ConverterLookup converterLookup, Mapper mapper, DataHolder dataHolder)
marshal
in interface MarshallingStrategy
protected abstract TreeUnmarshaller createUnmarshallingContext(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
protected abstract TreeMarshaller createMarshallingContext(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper)
Copyright © 2004–2017 XStream. All rights reserved.