| Package | Description | 
|---|---|
| com.thoughtworks.xstream | |
| 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.core | |
| com.thoughtworks.xstream.core.util | |
| com.thoughtworks.xstream.mapper | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
XStream.registerConverter(Converter converter)  | 
void | 
XStream.registerConverter(Converter converter,
                 int priority)  | 
void | 
XStream.registerLocalConverter(Class definedIn,
                      String fieldName,
                      Converter converter)
Register a local  
Converter for a field. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AnnotationReflectionConverter
Deprecated. 
 
As of 1.3, build into  
ReflectionConverter | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
SingleValueConverterWrapper
Wrapper to convert a   
SingleValueConverter into a
 Converter. | 
| Modifier and Type | Method and Description | 
|---|---|
Converter | 
ConverterLookup.lookupConverterForType(Class type)
Lookup a converter for a specific type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
UnmarshallingContext.convertAnother(Object current,
              Class type,
              Converter converter)  | 
void | 
MarshallingContext.convertAnother(Object nextItem,
              Converter converter)
Converts another object using the specified converter 
 | 
void | 
ConverterRegistry.registerConverter(Converter converter,
                 int priority)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
CharConverter
Converts a char primitive or java.lang.Character wrapper to
 a String. 
 | 
class  | 
NullConverter
Special converter to signify nulls at the root level. 
 | 
| 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. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ActivationDataFlavorConverter
Converts an  
ActivationDataFlavor. | 
class  | 
ColorConverter
Converts a java.awt.Color to XML, using four nested elements:
 red, green, blue, alpha. 
 | 
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  | 
FontConverter  | 
class  | 
GregorianCalendarConverter
Converts a java.util.GregorianCalendar to XML. 
 | 
class  | 
JavaFieldConverter
Converts a java.lang.reflect.Field to XML. 
 | 
class  | 
JavaMethodConverter
Converts a java.lang.reflect.Method to XML. 
 | 
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  | 
RegexPatternConverter
Ensures java.util.regex.Pattern is compiled upon deserialization. 
 | 
class  | 
SubjectConverter
Converts a  
Subject instance. | 
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. 
 | 
| Constructor and Description | 
|---|
RegexPatternConverter(Converter defaultConverter)
Deprecated. 
 
As of 1.4.5, use  
RegexPatternConverter.RegexPatternConverter() instead | 
ThrowableConverter(Converter defaultConverter)
Deprecated. 
 
As of 1.4.5 use  
ThrowableConverter.ThrowableConverter(ConverterLookup) | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
JavaBeanConverter
Can convert any bean with a public default constructor. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
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. 
 | 
| Constructor and Description | 
|---|
SelfStreamingInstanceChecker(Converter defaultConverter,
                            Object xstream)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
Converter | 
DefaultConverterLookup.lookupConverterForType(Class type)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Object | 
TreeUnmarshaller.convert(Object parent,
       Class type,
       Converter converter)  | 
protected Object | 
AbstractReferenceUnmarshaller.convert(Object parent,
       Class type,
       Converter converter)  | 
protected void | 
TreeMarshaller.convert(Object item,
       Converter converter)  | 
void | 
AbstractReferenceMarshaller.convert(Object item,
       Converter converter)  | 
Object | 
TreeUnmarshaller.convertAnother(Object parent,
              Class type,
              Converter converter)  | 
void | 
TreeMarshaller.convertAnother(Object item,
              Converter converter)  | 
void | 
DefaultConverterLookup.registerConverter(Converter converter,
                 int priority)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
com.thoughtworks.xstream.core.util.SelfStreamingInstanceChecker
A special converter that prevents self-serialization. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Converter | 
AnnotationMapper.getLocalConverter(Class definedIn,
                 String fieldName)  | 
Converter | 
LocalConversionMapper.getLocalConverter(Class definedIn,
                 String fieldName)  | 
Converter | 
Mapper.getLocalConverter(Class definedIn,
                 String fieldName)  | 
Converter | 
DefaultMapper.getLocalConverter(Class definedIn,
                 String fieldName)  | 
Converter | 
MapperWrapper.getLocalConverter(Class definedIn,
                 String fieldName)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
LocalConversionMapper.registerLocalConverter(Class definedIn,
                      String fieldName,
                      Converter converter)  | 
Copyright © 2004–2016 XStream. All rights reserved.