Package | Description |
---|---|
com.thoughtworks.xstream | |
com.thoughtworks.xstream.converters | |
com.thoughtworks.xstream.core |
Modifier and Type | Method and Description |
---|---|
DataHolder |
XStream.newDataHolder()
Create a DataHolder that can be used to pass data to the converters.
|
Modifier and Type | Method and Description |
---|---|
ObjectInputStream |
XStream.createObjectInputStream(HierarchicalStreamReader reader,
DataHolder dataHolder)
Creates an ObjectInputStream that deserializes a stream of objects from a reader using XStream.
|
ObjectOutputStream |
XStream.createObjectOutputStream(HierarchicalStreamWriter writer,
String rootNodeName,
DataHolder dataHolder)
Creates an ObjectOutputStream that serializes a stream of objects to the writer using XStream.
|
void |
MarshallingStrategy.marshal(HierarchicalStreamWriter writer,
Object obj,
ConverterLookup converterLookup,
Mapper mapper,
DataHolder dataHolder) |
void |
XStream.marshal(Object obj,
HierarchicalStreamWriter writer,
DataHolder dataHolder)
Serialize and object to a hierarchical data structure (such as XML).
|
Object |
XStream.unmarshal(HierarchicalStreamReader reader,
Object root,
DataHolder dataHolder)
Deserialize an object from a hierarchical data structure (such as XML).
|
Object |
MarshallingStrategy.unmarshal(Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
ConverterLookup converterLookup,
Mapper mapper) |
Modifier and Type | Interface and Description |
---|---|
interface |
MarshallingContext |
interface |
UnmarshallingContext |
Modifier and Type | Interface and Description |
---|---|
interface |
ReferencingMarshallingContext
A
MarshallingContext that manages references. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractReferenceMarshaller
Abstract base class for a TreeMarshaller, that can build references.
|
class |
AbstractReferenceUnmarshaller
Abstract base class for a TreeUnmarshaller, that resolves references.
|
class |
MapBackedDataHolder |
class |
ReferenceByIdMarshaller |
class |
ReferenceByIdUnmarshaller |
class |
ReferenceByXPathMarshaller |
class |
ReferenceByXPathUnmarshaller |
class |
TreeMarshaller |
class |
TreeUnmarshaller |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTreeMarshallingStrategy.marshal(HierarchicalStreamWriter writer,
Object obj,
ConverterLookup converterLookup,
Mapper mapper,
DataHolder dataHolder) |
Object |
TreeUnmarshaller.start(DataHolder dataHolder) |
void |
TreeMarshaller.start(Object item,
DataHolder dataHolder) |
Object |
AbstractTreeMarshallingStrategy.unmarshal(Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
ConverterLookup converterLookup,
Mapper mapper) |
Copyright © 2004–2017 XStream. All rights reserved.