Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayConverter
Converts an array of objects or primitives to XML, using
a nested child element for each item.
|
class |
CollectionConverter
Converts most common Collections (Lists and Sets) to XML, specifying a nested
element for each item.
|
class |
MapConverter
Converts a java.util.Map to XML, specifying an 'entry'
element with 'key' and 'value' children.
|
class |
SingletonCollectionConverter
Converts singleton collections (list and set) to XML, specifying a nested element for the
item.
|
class |
SingletonMapConverter
Converts a singleton map to XML, specifying an 'entry'
element with 'key' and 'value' children.
|
class |
TreeMapConverter
Converts a java.util.TreeMap to XML, and serializes
the associated java.util.Comparator.
|
class |
TreeSetConverter
Converts a java.util.TreeSet to XML, and serializes
the associated java.util.Comparator.
|
Modifier and Type | Class and Description |
---|---|
class |
EnumMapConverter
Serializes an Java 5 EnumMap, including the type of Enum it's for.
|
Modifier and Type | Class and Description |
---|---|
class |
NamedCollectionConverter
A collection converter that uses predefined names for its items.
|
class |
NamedMapConverter
A map converter that uses predefined names for its elements.
|
class |
SubjectConverter
Converts a
Subject instance. |
Copyright © 2004–2017 XStream. All rights reserved.