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 |
---|---|
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.
|
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)
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 |
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 |
ArrayConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
PropertiesConverter.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 |
WeakHashMapConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
TreeSetConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
TreeMapConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
CollectionConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
MapConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
abstract void |
AbstractCollectionConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
TreeMapConverter.marshalComparator(java.util.Comparator comparator,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
AbstractCollectionConverter.writeBareItem(java.lang.Object item,
MarshallingContext context,
HierarchicalStreamWriter writer)
Write the bare item of the collection into the writer.
|
protected void |
AbstractCollectionConverter.writeCompleteItem(java.lang.Object item,
MarshallingContext context,
HierarchicalStreamWriter writer)
Write an item of the collection into the writer including surrounding tags.
|
protected void |
AbstractCollectionConverter.writeItem(java.lang.Object item,
MarshallingContext context,
HierarchicalStreamWriter writer)
Deprecated.
As of 1.4.11 use
AbstractCollectionConverter.writeCompleteItem(Object, MarshallingContext, HierarchicalStreamWriter)
instead. |
protected void |
AbstractCollectionConverter.writeNullItem(MarshallingContext context,
HierarchicalStreamWriter writer)
Write a null item of the collection into the writer.
|
Modifier and Type | Method and Description |
---|---|
void |
EnumMapConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
EnumConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
EnumSetConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
void |
OptionalLongConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
OptionalIntConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
OptionalDoubleConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
OptionalConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
AtomicLongConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
AtomicIntegerConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
AtomicReferenceConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
AtomicBooleanConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ToAttributedValueConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ActivationDataFlavorConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
DynamicProxyConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ThrowableConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
JavaMethodConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
SubjectConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ColorConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
JavaFieldConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
FontConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
NamedMapConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
NamedArrayConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
RegexPatternConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
GregorianCalendarConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
EncodedByteArrayConverter.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) |
protected void |
NamedCollectionConverter.writeCompleteItem(java.lang.Object item,
MarshallingContext context,
HierarchicalStreamWriter writer) |
protected void |
NamedCollectionConverter.writeItem(java.lang.Object item,
MarshallingContext context,
HierarchicalStreamWriter writer)
Deprecated.
As of 1.4.11 use
NamedCollectionConverter.writeCompleteItem(Object, MarshallingContext, HierarchicalStreamWriter)
instead. |
protected void |
NamedMapConverter.writeItem(java.lang.String name,
java.lang.Class type,
java.lang.Object item,
MarshallingContext context,
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 |
LambdaConverter.marshal(java.lang.Object original,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
CGLIBEnhancedConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ExternalizableConverter.marshal(java.lang.Object original,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
AbstractReflectionConverter.marshal(java.lang.Object original,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
SerializableConverter.marshalUnserializableParent(HierarchicalStreamWriter writer,
MarshallingContext context,
java.lang.Object replacedSource) |
Modifier and Type | Method and Description |
---|---|
void |
WeekFieldsConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
SystemClockConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
void |
ValueRangeConverter.marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
Modifier and Type | Field and Description |
---|---|
protected HierarchicalStreamWriter |
TreeMarshaller.writer |
Modifier and Type | Method and Description |
---|---|
protected TreeMarshaller |
TreeMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeMarshaller |
ReferenceByXPathMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected abstract TreeMarshaller |
AbstractTreeMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeMarshaller |
ReferenceByIdMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
void |
AbstractTreeMarshallingStrategy.marshal(HierarchicalStreamWriter writer,
java.lang.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
Deprecated.
As of 1.4.11, this interface will be merged into parent with version 1.5.0.
|
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(java.io.OutputStream out)
Create the HierarchicalStreamWriter with the formatted writer.
|
HierarchicalStreamWriter |
HierarchicalStreamDriver.createWriter(java.io.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,
java.lang.String name,
java.lang.Class clazz)
Deprecated.
As of 1.4.11, with version 1.5.0 use
HierarchicalStreamWriter#startNode(String, Class)
directly. This helper will be no longer required. |
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(java.io.OutputStream out) |
HierarchicalStreamWriter |
BinaryStreamDriver.createWriter(java.io.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(java.io.OutputStream output) |
HierarchicalStreamWriter |
JsonHierarchicalStreamDriver.createWriter(java.io.OutputStream out) |
HierarchicalStreamWriter |
JettisonMappedXmlDriver.createWriter(java.io.Writer writer) |
HierarchicalStreamWriter |
JsonHierarchicalStreamDriver.createWriter(java.io.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 |
Modifier and Type | Method and Description |
---|---|
HierarchicalStreamWriter |
JDom2Driver.createWriter(java.io.OutputStream out) |
HierarchicalStreamWriter |
XomDriver.createWriter(java.io.OutputStream out) |
HierarchicalStreamWriter |
Dom4JDriver.createWriter(java.io.OutputStream out) |
HierarchicalStreamWriter |
JDomDriver.createWriter(java.io.OutputStream out) |
HierarchicalStreamWriter |
StaxDriver.createWriter(java.io.OutputStream out) |
HierarchicalStreamWriter |
DomDriver.createWriter(java.io.OutputStream out) |
HierarchicalStreamWriter |
AbstractXppDriver.createWriter(java.io.OutputStream out)
Create the HierarchicalStreamWriter with the formatted writer.
|
HierarchicalStreamWriter |
AbstractXppDomDriver.createWriter(java.io.OutputStream out)
Create the HierarchicalStreamWriter with the formatted writer.
|
HierarchicalStreamWriter |
JDom2Driver.createWriter(java.io.Writer out) |
HierarchicalStreamWriter |
XomDriver.createWriter(java.io.Writer out) |
HierarchicalStreamWriter |
Dom4JDriver.createWriter(java.io.Writer out) |
HierarchicalStreamWriter |
JDomDriver.createWriter(java.io.Writer out) |
HierarchicalStreamWriter |
StaxDriver.createWriter(java.io.Writer out) |
HierarchicalStreamWriter |
DomDriver.createWriter(java.io.Writer out) |
HierarchicalStreamWriter |
AbstractXppDriver.createWriter(java.io.Writer out)
Create the HierarchicalStreamWriter with the formatted writer.
|
HierarchicalStreamWriter |
AbstractXppDomDriver.createWriter(java.io.Writer out)
Create the HierarchicalStreamWriter with the formatted writer.
|
Copyright © 2004–2024 XStream. All rights reserved.