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.ObjectInputStream |
XStream.createObjectInputStream(HierarchicalStreamReader reader)
Creates an ObjectInputStream that deserializes a stream of objects from a reader using XStream.
|
java.io.ObjectInputStream |
XStream.createObjectInputStream(HierarchicalStreamReader reader,
DataHolder dataHolder)
Creates an ObjectInputStream that deserializes a stream of objects from a reader using XStream.
|
java.lang.Object |
XStream.unmarshal(HierarchicalStreamReader reader)
Deserialize an object from a hierarchical data structure (such as XML).
|
java.lang.Object |
XStream.unmarshal(HierarchicalStreamReader reader,
java.lang.Object root)
Deserialize an object from a hierarchical data structure (such as XML), populating the fields of the given root
object instead of instantiating a new one.
|
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 | Method and Description |
---|---|
java.lang.Object |
SingleValueConverterWrapper.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
Converter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context)
Convert textual data back into an object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
CharConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
NullConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
CollectionConverter.addCurrentElementToCollection(HierarchicalStreamReader reader,
UnmarshallingContext context,
java.util.Collection collection,
java.util.Collection target) |
protected void |
CollectionConverter.populateCollection(HierarchicalStreamReader reader,
UnmarshallingContext context,
java.util.Collection collection) |
protected void |
CollectionConverter.populateCollection(HierarchicalStreamReader reader,
UnmarshallingContext context,
java.util.Collection collection,
java.util.Collection target) |
protected void |
MapConverter.populateMap(HierarchicalStreamReader reader,
UnmarshallingContext context,
java.util.Map map) |
protected void |
MapConverter.populateMap(HierarchicalStreamReader reader,
UnmarshallingContext context,
java.util.Map map,
java.util.Map target) |
protected void |
TreeMapConverter.populateTreeMap(HierarchicalStreamReader reader,
UnmarshallingContext context,
java.util.TreeMap result,
java.util.Comparator comparator) |
protected void |
MapConverter.putCurrentEntryIntoMap(HierarchicalStreamReader reader,
UnmarshallingContext context,
java.util.Map map,
java.util.Map target) |
protected java.lang.Object |
AbstractCollectionConverter.readBareItem(HierarchicalStreamReader reader,
UnmarshallingContext context,
java.lang.Object current)
Read a bare item of the collection from the reader.
|
protected java.lang.Object |
AbstractCollectionConverter.readCompleteItem(HierarchicalStreamReader reader,
UnmarshallingContext context,
java.lang.Object current)
Read an item of the collection including the tags from the reader.
|
protected java.lang.Object |
AbstractCollectionConverter.readItem(HierarchicalStreamReader reader,
UnmarshallingContext context,
java.lang.Object current)
|
java.lang.Object |
ArrayConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
SingletonMapConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
PropertiesConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
CharArrayConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
BitSetConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
WeakHashMapConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
TreeSetConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
TreeMapConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
CollectionConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
SingletonCollectionConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
MapConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
abstract java.lang.Object |
AbstractCollectionConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
protected java.util.Comparator |
TreeMapConverter.unmarshalComparator(HierarchicalStreamReader reader,
UnmarshallingContext context,
java.util.TreeMap result) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
EnumMapConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
EnumConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
EnumSetConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
NamedMapConverter.populateMap(HierarchicalStreamReader reader,
UnmarshallingContext context,
java.util.Map map,
java.util.Map target) |
protected java.util.Set |
SubjectConverter.populateSet(HierarchicalStreamReader reader,
UnmarshallingContext context) |
protected java.lang.Object |
NamedCollectionConverter.readBareItem(HierarchicalStreamReader reader,
UnmarshallingContext context,
java.lang.Object current) |
protected java.lang.Object |
NamedMapConverter.readItem(java.lang.Class type,
HierarchicalStreamReader reader,
UnmarshallingContext context,
java.lang.Object current) |
java.lang.Object |
OptionalLongConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
OptionalIntConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
OptionalDoubleConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
OptionalConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
AtomicLongConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
AtomicIntegerConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
AtomicReferenceConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
AtomicBooleanConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
ToAttributedValueConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
ActivationDataFlavorConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
DynamicProxyConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
ThrowableConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
JavaMethodConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
SubjectConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
ColorConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
JavaFieldConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
FontConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
NamedArrayConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
RegexPatternConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
GregorianCalendarConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
EncodedByteArrayConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
protected java.util.Set |
SubjectConverter.unmarshalPrincipals(HierarchicalStreamReader reader,
UnmarshallingContext context) |
protected java.util.Set |
SubjectConverter.unmarshalPrivateCredentials(HierarchicalStreamReader reader,
UnmarshallingContext context) |
protected java.util.Set |
SubjectConverter.unmarshalPublicCredentials(HierarchicalStreamReader reader,
UnmarshallingContext context) |
protected boolean |
SubjectConverter.unmarshalReadOnly(HierarchicalStreamReader reader) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
JavaBeanConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
SerializableConverter.doUnmarshal(java.lang.Object result,
HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
AbstractReflectionConverter.doUnmarshal(java.lang.Object result,
HierarchicalStreamReader reader,
UnmarshallingContext context) |
protected java.lang.Object |
SerializableConverter.doUnmarshalConditionally(java.lang.Object result,
HierarchicalStreamReader reader,
UnmarshallingContext context) |
protected java.lang.Object |
AbstractReflectionConverter.instantiateNewInstance(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
CGLIBEnhancedConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
ExternalizableConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
AbstractReflectionConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
WeekFieldsConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
SystemClockConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
java.lang.Object |
ValueRangeConverter.unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) |
Modifier and Type | Field and Description |
---|---|
protected HierarchicalStreamReader |
TreeUnmarshaller.reader |
Modifier and Type | Method and Description |
---|---|
protected TreeUnmarshaller |
TreeMarshallingStrategy.createUnmarshallingContext(java.lang.Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeUnmarshaller |
ReferenceByXPathMarshallingStrategy.createUnmarshallingContext(java.lang.Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
protected abstract TreeUnmarshaller |
AbstractTreeMarshallingStrategy.createUnmarshallingContext(java.lang.Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeUnmarshaller |
ReferenceByIdMarshallingStrategy.createUnmarshallingContext(java.lang.Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
java.lang.Object |
AbstractTreeMarshallingStrategy.unmarshal(java.lang.Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
ConverterLookup converterLookup,
Mapper mapper) |
Constructor and Description |
---|
AbstractReferenceUnmarshaller(java.lang.Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
ReferenceByIdUnmarshaller(java.lang.Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
ReferenceByXPathUnmarshaller(java.lang.Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
TreeUnmarshaller(java.lang.Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
Modifier and Type | Interface and Description |
---|---|
interface |
ExtendedHierarchicalStreamReader
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 |
AbstractReader
Abstract base class for all HierarchicalStreamReader implementations.
|
class |
ReaderWrapper
Base class to make it easy to create wrappers (decorators) for HierarchicalStreamReader.
|
Modifier and Type | Field and Description |
---|---|
protected HierarchicalStreamReader |
ReaderWrapper.wrapped |
Modifier and Type | Method and Description |
---|---|
HierarchicalStreamReader |
AbstractDriver.createReader(java.io.File in)
Create the HierarchicalStreamReader with the stream parser reading from a File.
|
HierarchicalStreamReader |
HierarchicalStreamDriver.createReader(java.io.File in)
Create the HierarchicalStreamReader with the stream parser reading from a File.
|
HierarchicalStreamReader |
HierarchicalStreamDriver.createReader(java.io.InputStream in)
Create the HierarchicalStreamReader with the stream parser reading from the input stream.
|
HierarchicalStreamReader |
HierarchicalStreamDriver.createReader(java.io.Reader in)
Create the HierarchicalStreamReader with the stream parser reading from the IO reader.
|
HierarchicalStreamReader |
AbstractDriver.createReader(java.net.URL in)
Create the HierarchicalStreamReader with the stream parser reading from a URL.
|
HierarchicalStreamReader |
HierarchicalStreamDriver.createReader(java.net.URL in)
Create the HierarchicalStreamReader with the stream parser reading from a URL.
|
HierarchicalStreamReader |
ReaderWrapper.underlyingReader() |
HierarchicalStreamReader |
AbstractReader.underlyingReader()
Return the underlying HierarchicalStreamReader implementation.
|
HierarchicalStreamReader |
HierarchicalStreamReader.underlyingReader()
Return the underlying HierarchicalStreamReader implementation.
|
Constructor and Description |
---|
AttributeNameIterator(HierarchicalStreamReader reader)
Deprecated.
|
ReaderWrapper(HierarchicalStreamReader reader) |
Modifier and Type | Class and Description |
---|---|
class |
BinaryStreamReader
A HierarchicalStreamReader that reads from a binary stream created by
BinaryStreamWriter . |
Modifier and Type | Method and Description |
---|---|
HierarchicalStreamReader |
BinaryStreamDriver.createReader(java.io.InputStream in) |
HierarchicalStreamReader |
BinaryStreamDriver.createReader(java.io.Reader in) |
HierarchicalStreamReader |
BinaryStreamReader.underlyingReader() |
Modifier and Type | Method and Description |
---|---|
void |
HierarchicalStreamCopier.copy(HierarchicalStreamReader source,
HierarchicalStreamWriter destination) |
Modifier and Type | Method and Description |
---|---|
HierarchicalStreamReader |
JettisonMappedXmlDriver.createReader(java.io.File in) |
HierarchicalStreamReader |
JsonHierarchicalStreamDriver.createReader(java.io.File in) |
HierarchicalStreamReader |
JettisonMappedXmlDriver.createReader(java.io.InputStream input) |
HierarchicalStreamReader |
JsonHierarchicalStreamDriver.createReader(java.io.InputStream in) |
HierarchicalStreamReader |
JettisonMappedXmlDriver.createReader(java.io.Reader reader) |
HierarchicalStreamReader |
JsonHierarchicalStreamDriver.createReader(java.io.Reader in) |
HierarchicalStreamReader |
JettisonMappedXmlDriver.createReader(java.net.URL in) |
HierarchicalStreamReader |
JsonHierarchicalStreamDriver.createReader(java.net.URL in) |
Modifier and Type | Class and Description |
---|---|
class |
PathTrackingReader
Wrapper for HierarchicalStreamReader that tracks the path (a subset of XPath) of the current node that is being read.
|
Constructor and Description |
---|
PathTrackingReader(HierarchicalStreamReader reader,
PathTracker pathTracker) |
Modifier and Type | Interface and Description |
---|---|
interface |
DocumentReader
A generic interface for all
HierarchicalStreamReader implementations reading a DOM. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDocumentReader |
class |
AbstractPullReader
Base class that contains common functionality across HierarchicalStreamReader implementations
that need to read from a pull parser.
|
class |
AbstractXmlReader
Deprecated.
As of 1.4, use
AbstractReader instead. |
class |
Dom4JReader |
class |
DomReader |
class |
JDom2Reader |
class |
JDomReader |
class |
StaxReader
A reader using the StAX API.
|
class |
XomReader |
class |
XppDomReader |
class |
XppReader
XStream reader that pulls directly from the stream using the XmlPullParser API.
|
Modifier and Type | Method and Description |
---|---|
HierarchicalStreamReader |
JDom2Driver.createReader(java.io.File in) |
HierarchicalStreamReader |
XomDriver.createReader(java.io.File in) |
HierarchicalStreamReader |
Dom4JDriver.createReader(java.io.File in) |
HierarchicalStreamReader |
JDomDriver.createReader(java.io.File in) |
HierarchicalStreamReader |
StaxDriver.createReader(java.io.File in) |
HierarchicalStreamReader |
DomDriver.createReader(java.io.File in) |
HierarchicalStreamReader |
JDom2Driver.createReader(java.io.InputStream in) |
HierarchicalStreamReader |
XomDriver.createReader(java.io.InputStream in) |
HierarchicalStreamReader |
Dom4JDriver.createReader(java.io.InputStream in) |
HierarchicalStreamReader |
JDomDriver.createReader(java.io.InputStream in) |
HierarchicalStreamReader |
StaxDriver.createReader(java.io.InputStream in) |
HierarchicalStreamReader |
DomDriver.createReader(java.io.InputStream in) |
HierarchicalStreamReader |
AbstractXppDriver.createReader(java.io.InputStream in)
Create the HierarchicalStreamReader with the stream parser reading from the input stream.
|
HierarchicalStreamReader |
AbstractXppDomDriver.createReader(java.io.InputStream in)
Create the HierarchicalStreamReader with the stream parser reading from the input stream.
|
HierarchicalStreamReader |
JDom2Driver.createReader(java.io.Reader reader) |
HierarchicalStreamReader |
XomDriver.createReader(java.io.Reader text) |
HierarchicalStreamReader |
Dom4JDriver.createReader(java.io.Reader text) |
HierarchicalStreamReader |
JDomDriver.createReader(java.io.Reader reader) |
HierarchicalStreamReader |
StaxDriver.createReader(java.io.Reader xml) |
HierarchicalStreamReader |
DomDriver.createReader(java.io.Reader in) |
HierarchicalStreamReader |
AbstractXppDriver.createReader(java.io.Reader in)
Create the HierarchicalStreamReader with the stream parser reading from the IO reader.
|
HierarchicalStreamReader |
AbstractXppDomDriver.createReader(java.io.Reader in)
Create the HierarchicalStreamReader with the stream parser reading from the IO reader.
|
HierarchicalStreamReader |
JDom2Driver.createReader(java.net.URL in) |
HierarchicalStreamReader |
XomDriver.createReader(java.net.URL in) |
HierarchicalStreamReader |
Dom4JDriver.createReader(java.net.URL in) |
HierarchicalStreamReader |
JDomDriver.createReader(java.net.URL in) |
HierarchicalStreamReader |
StaxDriver.createReader(java.net.URL in) |
HierarchicalStreamReader |
DomDriver.createReader(java.net.URL in) |
Copyright © 2004–2024 XStream. All rights reserved.