Package com.thoughtworks.xstream.converters.extended
Extra converters that may not be enabled in XStream by default.
-
Class Summary Class Description ActivationDataFlavorConverter Converts anActivationDataFlavor
.CharsetConverter Converts a java.nio.charset.Carset to a string.ColorConverter Converts a java.awt.Color to XML, using four nested elements: red, green, blue, alpha.CurrencyConverter Converts a java.util.Currency to String.DurationConverter A Converter for the XML Schema datatype duration and the Java typeDuration
.DynamicProxyConverter Converts a dynamic proxy to XML, storing the implemented interfaces and handler.EncodedByteArrayConverter Converts a byte array by default to a single Base64 encoding string.FileConverter This converter will take care of storing and retrieving File with either an absolute path OR a relative path depending on how they were created.FontConverter GregorianCalendarConverter Converts a java.util.GregorianCalendar to XML.ISO8601DateConverter A DateConverter conforming to the ISO8601 standard.ISO8601GregorianCalendarConverter A GregorianCalendarConverter conforming to the ISO8601 standard.ISO8601SqlTimestampConverter A SqlTimestampConverter conforming to the ISO8601 standard.JavaClassConverter Converts a java.lang.Class to XML.JavaFieldConverter Converts a java.lang.reflect.Field to XML.JavaMethodConverter Converts a java.lang.reflect.Method to XML.LocaleConverter Converts a java.util.Locale to a string.LookAndFeelConverter A converter for Swing LookAndFeel implementations.NamedArrayConverter An array converter that uses predefined names for its items.NamedCollectionConverter A collection converter that uses predefined names for its items.NamedMapConverter A map converter that uses predefined names for its elements.PathConverter Converts aPath
to string.PropertyEditorCapableConverter A SingleValueConverter that can utilize aPropertyEditor
implementation used for a specific type.RegexPatternConverter Ensures java.util.regex.Pattern is compiled upon deserialization.SqlDateConverter Converts a java.sql.Date to text.SqlTimeConverter Converts a java.sql.Time to text.SqlTimestampConverter Converts aTimestamp
to a string.StackTraceElementConverter Converter for StackTraceElement (the lines of a stack trace) - JDK 1.4+ only.StackTraceElementFactory Deprecated. As of 1.4.8, it is an internal helper classStackTraceElementFactory15 SubjectConverter Converts aSubject
instance.TextAttributeConverter A converter forTextAttribute
constants.ThrowableConverter Converter for Throwable (and Exception) that retains stack trace.ToAttributedValueConverter Converter that supports the definition of one field member that will be written as value and all other field members are written as attributes.ToStringConverter Convenient converter for classes with natural string representation.UseAttributeForEnumMapper