edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.core
Class AbstractTreeMarshallingStrategy
java.lang.Object
edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy
- All Implemented Interfaces:
- MarshallingStrategy
- Direct Known Subclasses:
- ReferenceByIdMarshallingStrategy, ReferenceByXPathMarshallingStrategy, TreeMarshallingStrategy
public abstract class AbstractTreeMarshallingStrategy
- extends Object
- implements MarshallingStrategy
Basic functionality of a tree based marshalling strategy.
- Since:
- 1.3
- Author:
- Joe Walnes, Jörg Schaible
Method Summary |
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)
|
void |
marshal(HierarchicalStreamWriter writer,
Object obj,
DefaultConverterLookup converterLookup,
ClassMapper classMapper,
DataHolder dataHolder)
Deprecated. As of 1.2, use marshal(HierarchicalStreamWriter, Object, ConverterLookup, Mapper, DataHolder) |
Object |
unmarshal(Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
ConverterLookup converterLookup,
Mapper mapper)
|
Object |
unmarshal(Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
DefaultConverterLookup converterLookup,
ClassMapper classMapper)
Deprecated. As of 1.2, use unmarshal(Object, HierarchicalStreamReader, DataHolder, ConverterLookup, Mapper) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTreeMarshallingStrategy
public AbstractTreeMarshallingStrategy()
unmarshal
public Object unmarshal(Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
ConverterLookup converterLookup,
Mapper mapper)
- Specified by:
unmarshal
in interface MarshallingStrategy
marshal
public void marshal(HierarchicalStreamWriter writer,
Object obj,
ConverterLookup converterLookup,
Mapper mapper,
DataHolder dataHolder)
- Specified by:
marshal
in interface MarshallingStrategy
createUnmarshallingContext
protected abstract TreeUnmarshaller createUnmarshallingContext(Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper)
createMarshallingContext
protected abstract TreeMarshaller createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper)
unmarshal
public Object unmarshal(Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
DefaultConverterLookup converterLookup,
ClassMapper classMapper)
- Deprecated. As of 1.2, use
unmarshal(Object, HierarchicalStreamReader, DataHolder, ConverterLookup, Mapper)
- Specified by:
unmarshal
in interface MarshallingStrategy
marshal
public void marshal(HierarchicalStreamWriter writer,
Object obj,
DefaultConverterLookup converterLookup,
ClassMapper classMapper,
DataHolder dataHolder)
- Deprecated. As of 1.2, use
marshal(HierarchicalStreamWriter, Object, ConverterLookup, Mapper, DataHolder)
- Specified by:
marshal
in interface MarshallingStrategy
Copyright © 2012 Internet2. All Rights Reserved.