| Package | Description | 
|---|---|
| com.thoughtworks.xstream | |
| com.thoughtworks.xstream.converters | |
| com.thoughtworks.xstream.converters.basic | 
 Converters for common basic types in Java. 
 | 
| 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.reflection | |
| com.thoughtworks.xstream.mapper | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
XStream.registerConverter(SingleValueConverter converter)  | 
void | 
XStream.registerConverter(SingleValueConverter converter,
                 int priority)  | 
void | 
XStream.registerLocalConverter(Class definedIn,
                      String fieldName,
                      SingleValueConverter converter)
Register a local  
SingleValueConverter for a field. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
SingleValueConverterWrapper
Wrapper to convert a   
SingleValueConverter into a
 Converter. | 
| Constructor and Description | 
|---|
SingleValueConverterWrapper(SingleValueConverter wrapped)  | 
| 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  | 
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  | 
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  | 
CharsetConverter
Converts a java.nio.charset.Carset to a string. 
 | 
class  | 
CurrencyConverter
Converts a java.util.Currency to String. 
 | 
class  | 
DurationConverter
 | 
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  | 
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  | 
LocaleConverter
Converts a java.util.Locale to a string. 
 | 
class  | 
PathConverter
Converts a  
Path to string. | 
class  | 
PropertyEditorCapableConverter
A SingleValueConverter that can utilize a  
PropertyEditor implementation used for a
 specific type. | 
class  | 
SqlDateConverter
Converts a java.sql.Date to text. 
 | 
class  | 
SqlTimeConverter
Converts a java.sql.Time to text. 
 | 
class  | 
SqlTimestampConverter
Converts a java.sql.Timestamp to text. 
 | 
class  | 
StackTraceElementConverter
Converter for StackTraceElement (the lines of a stack trace) - JDK 1.4+ only. 
 | 
class  | 
TextAttributeConverter
A converter for  
TextAttribute constants. | 
class  | 
ToStringConverter
Convenient converter for classes with natural string representation. 
 | 
| Constructor and Description | 
|---|
JavaFieldConverter(SingleValueConverter javaClassConverter,
                  Mapper mapper)
Construct a JavaFieldConverter. 
 | 
JavaMethodConverter(SingleValueConverter javaClassConverter)
Construct a JavaMethodConverter. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractAttributedCharacterIteratorAttributeConverter
An abstract converter implementation for constants of
  
AttributedCharacterIterator.Attribute and derived types. | 
Copyright © 2004–2016 XStream. All rights reserved.