Package | Description |
---|---|
com.thoughtworks.xstream | |
com.thoughtworks.xstream.converters | |
com.thoughtworks.xstream.converters.basic |
Converters for common basic types in Java.
|
com.thoughtworks.xstream.converters.collections |
Converters for collection objects that write their items as
nested elements, such as arrays, Lists, Sets and Maps.
|
com.thoughtworks.xstream.converters.enums | |
com.thoughtworks.xstream.converters.extended |
Extra converters that may not be enabled in XStream by default.
|
com.thoughtworks.xstream.converters.javabean | |
com.thoughtworks.xstream.converters.reflection | |
com.thoughtworks.xstream.converters.time |
Extra converters for the java.time package.
|
com.thoughtworks.xstream.core | |
com.thoughtworks.xstream.io | |
com.thoughtworks.xstream.io.binary | |
com.thoughtworks.xstream.io.copy | |
com.thoughtworks.xstream.io.json | |
com.thoughtworks.xstream.io.path |
Library for tracking paths of nodes in documents using a subset of XPath.
|
com.thoughtworks.xstream.io.xml |
Modifier and Type | Method and Description |
---|---|
ObjectOutputStream |
XStream.createObjectOutputStream(HierarchicalStreamWriter writer)
Creates an ObjectOutputStream that serializes a stream of objects to the writer using
XStream.
|
ObjectOutputStream |
XStream.createObjectOutputStream(HierarchicalStreamWriter writer,
String rootNodeName)
Creates an ObjectOutputStream that serializes a stream of objects to the writer 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)
Serialize and object to a hierarchical data structure (such as XML).
|
void |
XStream.marshal(Object obj,
HierarchicalStreamWriter writer,
DataHolder dataHolder)
Serialize and object to a hierarchical data structure (such as XML).
|
Modifier and Type | Method and Description |
---|---|
void |
Converter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context)
Convert an object to textual data.
|
void |
SingleValueConverterWrapper.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
void |
NullConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
CharConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
void |
TreeMapConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ArrayConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
PropertiesConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
abstract void |
AbstractCollectionConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
CollectionConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
CharArrayConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
TreeSetConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
BitSetConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
MapConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
TreeMapConverter.marshalComparator(Comparator comparator,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
AbstractCollectionConverter.writeItem(Object item,
MarshallingContext context,
HierarchicalStreamWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
EnumConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
EnumSetConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
EnumMapConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
void |
SubjectConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
NamedMapConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
RegexPatternConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
FontConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
GregorianCalendarConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
JavaFieldConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
DynamicProxyConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ColorConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ThrowableConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ToAttributedValueConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
JavaMethodConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
NamedArrayConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ActivationDataFlavorConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
EncodedByteArrayConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
SubjectConverter.marshalPrincipals(Set principals,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
SubjectConverter.marshalPrivateCredentials(Set privCredentials,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
SubjectConverter.marshalPublicCredentials(Set pubCredentials,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
SubjectConverter.marshalReadOnly(boolean readOnly,
HierarchicalStreamWriter writer) |
protected void |
NamedCollectionConverter.writeItem(Object item,
MarshallingContext context,
HierarchicalStreamWriter writer) |
protected void |
NamedMapConverter.writeItem(String name,
Class type,
Object item,
MarshallingContext context,
HierarchicalStreamWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
JavaBeanConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
void |
SerializableConverter.doMarshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
AbstractReflectionConverter.doMarshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
SerializableConverter.doMarshalConditionally(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
CGLIBEnhancedConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
AbstractReflectionConverter.marshal(Object original,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ExternalizableConverter.marshal(Object original,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
LambdaConverter.marshal(Object original,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
SerializableConverter.marshalUnserializableParent(HierarchicalStreamWriter writer,
MarshallingContext context,
Object replacedSource) |
Modifier and Type | Method and Description |
---|---|
void |
ValueRangeConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
SystemClockConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
WeekFieldsConverter.marshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
Modifier and Type | Field and Description |
---|---|
protected HierarchicalStreamWriter |
TreeMarshaller.writer |
Modifier and Type | Method and Description |
---|---|
protected abstract TreeMarshaller |
AbstractTreeMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeMarshaller |
TreeMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeMarshaller |
ReferenceByIdMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeMarshaller |
ReferenceByXPathMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
void |
AbstractTreeMarshallingStrategy.marshal(HierarchicalStreamWriter writer,
Object obj,
ConverterLookup converterLookup,
Mapper mapper,
DataHolder dataHolder) |
Constructor and Description |
---|
AbstractReferenceMarshaller(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
ReferenceByIdMarshaller(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
ReferenceByIdMarshaller(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper,
ReferenceByIdMarshaller.IDGenerator idGenerator) |
ReferenceByXPathMarshaller(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper,
int mode) |
TreeMarshaller(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
Modifier and Type | Interface and Description |
---|---|
interface |
ExtendedHierarchicalStreamWriter |
Modifier and Type | Class and Description |
---|---|
class |
AbstractWriter
Abstract base class for all HierarchicalStreamWriter implementations.
|
class |
StatefulWriter
An wrapper for all
HierarchicalStreamWriter implementations, that keeps the state. |
class |
WriterWrapper
Base class to make it easy to create wrappers (decorators) for HierarchicalStreamWriter.
|
Modifier and Type | Field and Description |
---|---|
protected HierarchicalStreamWriter |
WriterWrapper.wrapped |
Modifier and Type | Method and Description |
---|---|
HierarchicalStreamWriter |
HierarchicalStreamDriver.createWriter(OutputStream out)
Create the HierarchicalStreamWriter with the formatted writer.
|
HierarchicalStreamWriter |
HierarchicalStreamDriver.createWriter(Writer out)
Create the HierarchicalStreamWriter with the formatted writer.
|
HierarchicalStreamWriter |
AbstractWriter.underlyingWriter()
Return the underlying HierarchicalStreamWriter implementation.
|
HierarchicalStreamWriter |
WriterWrapper.underlyingWriter() |
HierarchicalStreamWriter |
HierarchicalStreamWriter.underlyingWriter()
Return the underlying HierarchicalStreamWriter implementation.
|
Modifier and Type | Method and Description |
---|---|
static void |
ExtendedHierarchicalStreamWriterHelper.startNode(HierarchicalStreamWriter writer,
String name,
Class clazz) |
Constructor and Description |
---|
StatefulWriter(HierarchicalStreamWriter wrapped)
Constructs a StatefulWriter.
|
WriterWrapper(HierarchicalStreamWriter wrapped) |
Modifier and Type | Class and Description |
---|---|
class |
BinaryStreamWriter |
Modifier and Type | Method and Description |
---|---|
HierarchicalStreamWriter |
BinaryStreamDriver.createWriter(OutputStream out) |
HierarchicalStreamWriter |
BinaryStreamDriver.createWriter(Writer out) |
HierarchicalStreamWriter |
BinaryStreamWriter.underlyingWriter() |
Modifier and Type | Method and Description |
---|---|
void |
HierarchicalStreamCopier.copy(HierarchicalStreamReader source,
HierarchicalStreamWriter destination) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractJsonWriter
An abstract implementation of a writer that calls abstract methods to build JSON structures.
|
class |
JettisonStaxWriter
A specialized
StaxWriter that makes usage of internal functionality of Jettison. |
class |
JsonHierarchicalStreamWriter
Deprecated.
As of 1.3.1, use JsonWriter instead
|
class |
JsonWriter
A simple writer that outputs JSON in a pretty-printed indented stream.
|
Modifier and Type | Method and Description |
---|---|
HierarchicalStreamWriter |
JettisonMappedXmlDriver.createWriter(OutputStream output) |
HierarchicalStreamWriter |
JsonHierarchicalStreamDriver.createWriter(OutputStream out) |
HierarchicalStreamWriter |
JettisonMappedXmlDriver.createWriter(Writer writer) |
HierarchicalStreamWriter |
JsonHierarchicalStreamDriver.createWriter(Writer out)
Create a HierarchicalStreamWriter that writes JSON.
|
HierarchicalStreamWriter |
JsonWriter.underlyingWriter() |
Modifier and Type | Class and Description |
---|---|
class |
PathTrackingWriter
Wrapper for HierarchicalStreamWriter that tracks the path (a subset of XPath) of the current node that is being written.
|
Constructor and Description |
---|
PathTrackingWriter(HierarchicalStreamWriter writer,
PathTracker pathTracker) |
Modifier and Type | Interface and Description |
---|---|
interface |
DocumentWriter
A generic interface for all
HierarchicalStreamWriter implementations generating a
DOM. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDocumentWriter
A generic
HierarchicalStreamWriter for DOM writer
implementations. |
class |
AbstractXmlWriter
Deprecated.
As of 1.4 use
AbstractWriter instead |
class |
CompactWriter |
class |
Dom4JWriter |
class |
Dom4JXmlWriter |
class |
DomWriter |
class |
JDom2Writer |
class |
JDomWriter |
class |
PrettyPrintWriter
A simple writer that outputs XML in a pretty-printed indented stream.
|
class |
SaxWriter
A SAX
parser that acts as an XStream
HierarchicalStreamWriter to enable direct generation of a
SAX event flow from the XStream serialization of a list of list of Java objects. |
class |
StaxWriter
A stream writing that outputs to a StAX stream writer
|
class |
XomWriter |
class |
XppDomWriter |
Copyright © 2004–2017 XStream. All rights reserved.