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.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 |
---|---|
java.io.ObjectOutputStream |
XStream.createObjectOutputStream(HierarchicalStreamWriter writer)
Creates an ObjectOutputStream that serializes a stream of objects to the writer using
XStream.
|
java.io.ObjectOutputStream |
XStream.createObjectOutputStream(HierarchicalStreamWriter writer,
java.lang.String rootNodeName)
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 |
MarshallingStrategy.marshal(HierarchicalStreamWriter writer,
java.lang.Object obj,
com.thoughtworks.xstream.core.DefaultConverterLookup converterLookup,
ClassMapper classMapper,
DataHolder dataHolder)
Deprecated.
|
void |
XStream.marshal(java.lang.Object obj,
HierarchicalStreamWriter writer)
Serialize and object to a hierarchical data structure (such as XML).
|
void |
XStream.marshal(java.lang.Object obj,
HierarchicalStreamWriter writer,
DataHolder dataHolder)
Serialize and object to a hierarchical data structure (such as XML).
|
Modifier and Type | Method and Description |
---|---|
void |
SingleValueConverterWrapper.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
Converter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context)
Convert an object to textual data.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractBasicConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context)
Deprecated.
|
void |
CharConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
NullConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
void |
TreeSetConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
TreeMapConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
CharArrayConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
BitSetConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
CollectionConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
PropertiesConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
abstract void |
AbstractCollectionConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
MapConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ArrayConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
AbstractCollectionConverter.writeItem(java.lang.Object item,
MarshallingContext context,
HierarchicalStreamWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
EnumMapConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
EnumSetConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
EnumConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
void |
SubjectConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
EncodedByteArrayConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ColorConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ThrowableConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
DynamicProxyConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
GregorianCalendarConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
JavaMethodConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
FontConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
RegexPatternConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
SubjectConverter.marshalPrincipals(java.util.Set principals,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
SubjectConverter.marshalPrivateCredentials(java.util.Set privCredentials,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
SubjectConverter.marshalPublicCredentials(java.util.Set pubCredentials,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
SubjectConverter.marshalReadOnly(boolean readOnly,
HierarchicalStreamWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
JavaBeanConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
void |
SerializableConverter.doMarshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
AbstractReflectionConverter.doMarshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
SerializableConverter.doMarshalConditionally(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
CGLIBEnhancedConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ExternalizableConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
SelfStreamingInstanceChecker.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
AbstractReflectionConverter.marshal(java.lang.Object original,
HierarchicalStreamWriter writer,
MarshallingContext context) |
Modifier and Type | Interface and Description |
---|---|
interface |
ExtendedHierarchicalStreamWriter |
Modifier and Type | Class and Description |
---|---|
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(java.io.OutputStream out) |
HierarchicalStreamWriter |
HierarchicalStreamDriver.createWriter(java.io.Writer out) |
HierarchicalStreamWriter |
HierarchicalStreamWriter.underlyingWriter()
Return the underlying HierarchicalStreamWriter implementation.
|
HierarchicalStreamWriter |
WriterWrapper.underlyingWriter() |
Modifier and Type | Method and Description |
---|---|
static void |
ExtendedHierarchicalStreamWriterHelper.startNode(HierarchicalStreamWriter writer,
java.lang.String name,
java.lang.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 |
BinaryStreamWriter.underlyingWriter() |
Modifier and Type | Method and Description |
---|---|
void |
HierarchicalStreamCopier.copy(HierarchicalStreamReader source,
HierarchicalStreamWriter destination) |
Modifier and Type | Class and Description |
---|---|
class |
JettisonStaxWriter
A specialized
StaxWriter that makes usage of internal functionality of Jettison. |
class |
JsonHierarchicalStreamWriter
Deprecated.
since 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 |
JsonHierarchicalStreamDriver.createWriter(java.io.OutputStream out) |
HierarchicalStreamWriter |
JettisonMappedXmlDriver.createWriter(java.io.OutputStream output) |
HierarchicalStreamWriter |
JsonHierarchicalStreamDriver.createWriter(java.io.Writer out)
Create a HierarchicalStreamWriter that writes JSON.
|
HierarchicalStreamWriter |
JettisonMappedXmlDriver.createWriter(java.io.Writer writer) |
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
Abstract base implementation of HierarchicalStreamWriter that provides common functionality
to all XML-based writers.
|
class |
CompactWriter |
class |
Dom4JWriter |
class |
Dom4JXmlWriter |
class |
DomWriter |
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-2012 XStream. All Rights Reserved.