Converter implementations are responsible marshalling Java objects to/from textual data.
If an exception occurs during processing, a {@link ConversionException} should be thrown.
If working with the high level {@link com.thoughtworks.xstream.XStream} facade, you can register new converters usingthe XStream.registerConverter() method.
If working with the lower level API, the {@link com.thoughtworks.xstream.converters.ConverterLookup} implementationis responsible for looking up the appropriate converter.
Converters for object that can store all information in a single value should implement {@link com.thoughtworks.xstream.converters.SingleValueConverter}. {@link com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter} provides a starting point.
{@link com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter} provides a starting point forobjects that hold a collection of other objects (such as Lists and Maps).
@author Joe Walnes
@see com.thoughtworks.xstream.XStream
@see com.thoughtworks.xstream.converters.ConverterLookup
@see com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
@see com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter