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 |
---|---|
java.io.ObjectInputStream |
XStream.createObjectInputStream(HierarchicalStreamReader reader,
DataHolder dataHolder)
Creates an ObjectInputStream that deserializes a stream of objects from a reader using XStream.
|
java.io.ObjectOutputStream |
XStream.createObjectOutputStream(HierarchicalStreamWriter writer,
java.lang.String rootNodeName,
DataHolder dataHolder)
Creates an ObjectOutputStream that serializes a stream of objects to the writer using XStream.
|
void |
MarshallingStrategy.marshal(HierarchicalStreamWriter writer,
java.lang.Object obj,
ConverterLookup converterLookup,
Mapper mapper,
DataHolder dataHolder) |
void |
XStream.marshal(java.lang.Object obj,
HierarchicalStreamWriter writer,
DataHolder dataHolder)
Serialize and object to a hierarchical data structure (such as XML).
|
java.lang.Object |
XStream.unmarshal(HierarchicalStreamReader reader,
java.lang.Object root,
DataHolder dataHolder)
Deserialize an object from a hierarchical data structure (such as XML).
|
java.lang.Object |
MarshallingStrategy.unmarshal(java.lang.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,
java.lang.Object obj,
ConverterLookup converterLookup,
Mapper mapper,
DataHolder dataHolder) |
java.lang.Object |
TreeUnmarshaller.start(DataHolder dataHolder) |
void |
TreeMarshaller.start(java.lang.Object item,
DataHolder dataHolder) |
java.lang.Object |
AbstractTreeMarshallingStrategy.unmarshal(java.lang.Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
ConverterLookup converterLookup,
Mapper mapper) |
Copyright © 2004–2024 XStream. All rights reserved.