com.thoughtworks.xstream.converters.collections |
Converters for collection objects that write their items as
nested elements, such as arrays, Lists, Sets and Maps.
All the converters in this package are enabled by default.
|
Java Source File Name | Type | Comment |
AbstractCollectionConverter.java | Class | Base helper class for converters that need to handle
collections of items (arrays, Lists, Maps, etc). |
ArrayConverter.java | Class | Converts an array of objects or primitives to XML, using
a nested child element for each item. |
BitSetConverter.java | Class | Converts a java.util.BitSet to XML, as a compact
comma delimited list of ones and zeros. |
BitSetConverterTest.java | Class | |
ByteArrayConverterTest.java | Class | |
CharArrayConverter.java | Class | Converts a char[] to XML, storing the contents as a single
String. |
CharArrayConverterTest.java | Class | |
CollectionConverter.java | Class | Converts most common Collections (Lists and Sets) to XML, specifying a nested
element for each item. |
MapConverter.java | Class | Converts a java.util.Map to XML, specifying an 'entry'
element with 'key' and 'value' children.
Note: 'key' and 'value' is not the name of the generated tag. |
PropertiesConverter.java | Class | Special converter for java.util.Properties that stores
properties in a more compact form than java.util.Map. |
PropertiesConverterTest.java | Class | |
TreeMapConverter.java | Class | Converts a java.util.TreeMap to XML, and serializes
the associated java.util.Comparator. |
TreeSetConverter.java | Class | Converts a java.util.TreeSet to XML, and serializes
the associated java.util.Comparator. |