Package | Description |
---|---|
com.thoughtworks.xstream.annotations | |
com.thoughtworks.xstream.converters | |
com.thoughtworks.xstream.converters.basic |
Converters for common basic types in Java.
|
com.thoughtworks.xstream.converters.collections |
Converters for collection objects that write their items as
nested elements, such as arrays, Lists, Sets and Maps.
|
com.thoughtworks.xstream.converters.enums | |
com.thoughtworks.xstream.converters.extended |
Extra converters that may not be enabled in XStream by default.
|
com.thoughtworks.xstream.converters.javabean | |
com.thoughtworks.xstream.converters.reflection | |
com.thoughtworks.xstream.converters.time |
Extra converters for the java.time package.
|
com.thoughtworks.xstream.core.util |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationReflectionConverter
Deprecated.
As of 1.3, build into
ReflectionConverter |
Modifier and Type | Interface and Description |
---|---|
interface |
Converter
Converter implementations are responsible marshalling Java objects
to/from textual data.
|
interface |
SingleValueConverter
SingleValueConverter implementations are marshallable to/from a single value String representation.
|
Modifier and Type | Class and Description |
---|---|
class |
SingleValueConverterWrapper
Wrapper to convert a
SingleValueConverter into a
Converter . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSingleValueConverter
Base abstract implementation of
SingleValueConverter . |
class |
BigDecimalConverter
Converts a java.math.BigDecimal to a String, retaining
its precision.
|
class |
BigIntegerConverter
Converts a java.math.BigInteger to a String.
|
class |
BooleanConverter
Converts a boolean primitive or java.lang.Boolean wrapper to
a String.
|
class |
ByteConverter
Converts a byte primitive or java.lang.Byte wrapper to
a String.
|
class |
CharConverter
Converts a char primitive or java.lang.Character wrapper to
a String.
|
class |
DateConverter
Converts a
Date to a string as a date format, retaining precision down to milliseconds. |
class |
DoubleConverter
Converts a double primitive or java.lang.Double wrapper to
a String.
|
class |
FloatConverter
Converts a float primitive or java.lang.Float wrapper to
a String.
|
class |
IntConverter
Converts an int primitive or java.lang.Integer wrapper to
a String.
|
class |
LongConverter
Converts a long primitive or java.lang.Long wrapper to a String.
|
class |
NullConverter
Special converter to signify nulls at the root level.
|
class |
ShortConverter
Converts a short primitive or java.lang.Short wrapper to
a String.
|
class |
StringBufferConverter
Converts the contents of a StringBuffer to XML.
|
class |
StringBuilderConverter
Converts the contents of a StringBuilder to XML.
|
class |
StringConverter
Converts a String to a String ;).
|
class |
URIConverter
Converts a java.net.URI to a string.
|
class |
URLConverter
Converts a java.net.URL to a string.
|
class |
UUIDConverter
Converts a java.util.UUID to a string.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCollectionConverter
Base helper class for converters that need to handle
collections of items (arrays, Lists, Maps, etc).
|
class |
ArrayConverter
Converts an array of objects or primitives to XML, using
a nested child element for each item.
|
class |
BitSetConverter
Converts a java.util.BitSet to XML, as a compact
comma delimited list of ones and zeros.
|
class |
CharArrayConverter
Converts a char[] to XML, storing the contents as a single
String.
|
class |
CollectionConverter
Converts most common Collections (Lists and Sets) to XML, specifying a nested
element for each item.
|
class |
MapConverter
Converts a java.util.Map to XML, specifying an 'entry'
element with 'key' and 'value' children.
|
class |
PropertiesConverter
Special converter for java.util.Properties that stores properties in a more compact form than
java.util.Map.
|
class |
SingletonCollectionConverter
Converts singleton collections (list and set) to XML, specifying a nested element for the
item.
|
class |
SingletonMapConverter
Converts a singleton map to XML, specifying an 'entry'
element with 'key' and 'value' children.
|
class |
TreeMapConverter
Converts a java.util.TreeMap to XML, and serializes
the associated java.util.Comparator.
|
class |
TreeSetConverter
Converts a java.util.TreeSet to XML, and serializes
the associated java.util.Comparator.
|
Modifier and Type | Class and Description |
---|---|
class |
EnumConverter
Converter for JDK 1.5 enums.
|
class |
EnumMapConverter
Serializes an Java 5 EnumMap, including the type of Enum it's for.
|
class |
EnumSetConverter
Serializes a Java 5 EnumSet.
|
class |
EnumSingleValueConverter
A single value converter for a special enum type.
|
class |
EnumToStringConverter<T extends Enum<T>>
A single value converter for a special enum type using its string representation.
|
Modifier and Type | Class and Description |
---|---|
class |
ActivationDataFlavorConverter
Converts an
ActivationDataFlavor . |
class |
CharsetConverter
Converts a java.nio.charset.Carset to a string.
|
class |
ColorConverter
Converts a java.awt.Color to XML, using four nested elements:
red, green, blue, alpha.
|
class |
CurrencyConverter
Converts a java.util.Currency to String.
|
class |
DynamicProxyConverter
Converts a dynamic proxy to XML, storing the implemented
interfaces and handler.
|
class |
EncodedByteArrayConverter
Converts a byte array to a single Base64 encoding string.
|
class |
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.
|
class |
FontConverter |
class |
GregorianCalendarConverter
Converts a java.util.GregorianCalendar to XML.
|
class |
ISO8601DateConverter
A DateConverter conforming to the ISO8601 standard.
|
class |
ISO8601GregorianCalendarConverter
A GregorianCalendarConverter conforming to the ISO8601 standard.
|
class |
ISO8601SqlTimestampConverter
A SqlTimestampConverter conforming to the ISO8601 standard.
|
class |
JavaClassConverter
Converts a java.lang.Class to XML.
|
class |
JavaFieldConverter
Converts a java.lang.reflect.Field to XML.
|
class |
JavaMethodConverter
Converts a java.lang.reflect.Method to XML.
|
class |
LocaleConverter
Converts a java.util.Locale to a string.
|
class |
LookAndFeelConverter
A converter for Swing LookAndFeel implementations.
|
class |
NamedArrayConverter
An array converter that uses predefined names for its items.
|
class |
NamedCollectionConverter
A collection converter that uses predefined names for its items.
|
class |
NamedMapConverter
A map converter that uses predefined names for its elements.
|
class |
PathConverter
Converts a
Path to string. |
class |
PropertyEditorCapableConverter
A SingleValueConverter that can utilize a
PropertyEditor implementation used for a
specific type. |
class |
RegexPatternConverter
Ensures java.util.regex.Pattern is compiled upon deserialization.
|
class |
SqlDateConverter
Converts a java.sql.Date to text.
|
class |
SqlTimeConverter
Converts a java.sql.Time to text.
|
class |
SqlTimestampConverter
Converts a
Timestamp to a string. |
class |
StackTraceElementConverter
Converter for StackTraceElement (the lines of a stack trace) - JDK 1.4+ only.
|
class |
SubjectConverter
Converts a
Subject instance. |
class |
TextAttributeConverter
A converter for
TextAttribute constants. |
class |
ThrowableConverter
Converter for Throwable (and Exception) that retains stack trace.
|
class |
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.
|
class |
ToStringConverter
Convenient converter for classes with natural string representation.
|
Modifier and Type | Class and Description |
---|---|
class |
JavaBeanConverter
Can convert any bean with a public default constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAttributedCharacterIteratorAttributeConverter
An abstract converter implementation for constants of
AttributedCharacterIterator.Attribute and derived types. |
class |
AbstractReflectionConverter |
class |
CGLIBEnhancedConverter
Converts a proxy created by the CGLIB
Enhancer . |
class |
ExternalizableConverter
Converts any object that implements the java.io.Externalizable interface, allowing compatibility with native Java
serialization.
|
class |
LambdaConverter
Converts a lambda type.
|
class |
ReflectionConverter |
class |
SerializableConverter
Emulates the mechanism used by standard Java Serialization for classes that implement java.io.Serializable AND
implement or inherit a custom readObject()/writeObject() method.
|
Modifier and Type | Class and Description |
---|---|
class |
ChronologyConverter
Converts a
Chronology instance to a string using its id. |
class |
DurationConverter
Converts a
Duration instance to string. |
class |
HijrahDateConverter
Converts a
HijrahDate to a string. |
class |
InstantConverter
Converts a
Instant instance to string. |
class |
JapaneseDateConverter
Converts a
JapaneseDate to a string. |
class |
JapaneseEraConverter
Converts a
JapaneseEra instance to a string using its id. |
class |
LocalDateConverter
Converts a
LocalDate to a string. |
class |
LocalDateTimeConverter
Converts a
LocalDateTime to a string. |
class |
LocalTimeConverter
Converts a
LocalTime to a string. |
class |
MinguoDateConverter
Converts a
MinguoDate to a string. |
class |
MonthDayConverter
Converts a
MonthDay instance to string. |
class |
OffsetDateTimeConverter
Converts a
OffsetDateTime to a string. |
class |
OffsetTimeConverter
Converts a
OffsetTime to a string. |
class |
PeriodConverter
Converts a
Period instance to string. |
class |
SystemClockConverter
Converts a system
Clock , using zone as nested element. |
class |
ThaiBuddhistDateConverter
Converts a
ThaiBuddhistDate to a string. |
class |
ValueRangeConverter
Converts a temporal
ValueRange , using four nested elements: maxLargest, maxSmallest, minLargest, and
minSmallest. |
class |
WeekFieldsConverter
Converts a
WeekFields instance, using two nested elements: minimalDays and minSmallest. |
class |
YearConverter
Converts a
Year instance to string. |
class |
YearMonthConverter
Converts a
YearMonth instance to string. |
class |
ZonedDateTimeConverter
Converts a
ZonedDateTime to a string. |
class |
ZoneIdConverter
Converts a
ZoneId instance to string. |
Modifier and Type | Class and Description |
---|---|
class |
com.thoughtworks.xstream.core.util.SelfStreamingInstanceChecker
A special converter that prevents self-serialization.
|
Copyright © 2004–2017 XStream. All rights reserved.