Package com.thoughtworks.xstream.converters.collections
package 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.
-
ClassesClassDescriptionBase helper class for converters that need to handle collections of items (arrays, Lists, Maps, etc).Converts an array of objects or primitives to XML, using a nested child element for each item.Converts a java.util.BitSet to XML, as a compact comma delimited list of ones and zeros.Converts a char[] to XML, storing the contents as a single String.Converts most common Collections (Lists and Sets) to XML, specifying a nested element for each item.Converts a java.util.Map to XML, specifying an 'entry' element with 'key' and 'value' children.Special converter for java.util.Properties that stores properties in a more compact form than java.util.Map.Converts singleton collections (list and set) to XML, specifying a nested element for the item.Converts a singleton map to XML, specifying an 'entry' element with 'key' and 'value' children.Converts a java.util.TreeMap to XML, and serializes the associated java.util.Comparator.Converts a java.util.TreeSet to XML, and serializes the associated java.util.Comparator.