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.
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | AbstractCollectionConverter
Base helper class for converters that need to handle collections of items (arrays, Lists, Maps, etc). |
| public class | ArrayConverter
Converts an array of objects or primitives to XML, using a nested child element for each item. |
| public class | BitSetConverter
Converts a java.util.BitSet to XML, as a compact comma delimited list of ones and zeros. |
| public class | CharArrayConverter
Converts a char[] to XML, storing the contents as a single String. |
| public class | CollectionConverter
Converts most common Collections (Lists and Sets) to XML, specifying a nested element for each item. |
| public class | MapConverter
Converts a java.util.Map to XML, specifying an 'entry' element with 'key' and 'value' children. |
| public class | PropertiesConverter
Special converter for java.util.Properties that stores properties in a more compact form than java.util.Map. |
| public class | SingletonCollectionConverter
Converts singleton collections (list and set) to XML, specifying a nested element for the item. |
| public class | SingletonMapConverter
Converts a singleton map to XML, specifying an 'entry' element with 'key' and 'value' children. |
| public class | TreeMapConverter
Converts a java.util.TreeMap to XML, and serializes the associated java.util.Comparator. |
| public class | TreeSetConverter
Converts a java.util.TreeSet to XML, and serializes the associated java.util.Comparator. |