Uses of Interface
com.thoughtworks.xstream.converters.Converter
-
Packages that use Converter 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.converters.time Extra converters for the java.time package.com.thoughtworks.xstream.core com.thoughtworks.xstream.core.util com.thoughtworks.xstream.mapper -
-
Uses of Converter in com.thoughtworks.xstream
Classes in com.thoughtworks.xstream that implement Converter Modifier and Type Class Description private class
XStream.InternalBlackList
Methods in com.thoughtworks.xstream with parameters of type Converter Modifier and Type Method Description void
XStream. registerConverter(Converter converter)
void
XStream. registerConverter(Converter converter, int priority)
void
XStream. registerLocalConverter(java.lang.Class definedIn, java.lang.String fieldName, Converter converter)
Register a localConverter
for a field. -
Uses of Converter in com.thoughtworks.xstream.annotations
Classes in com.thoughtworks.xstream.annotations that implement Converter Modifier and Type Class Description class
AnnotationReflectionConverter
Deprecated.As of 1.3, build intoReflectionConverter
Fields in com.thoughtworks.xstream.annotations with type parameters of type Converter Modifier and Type Field Description private java.util.Map<java.lang.Class<? extends ConverterMatcher>,Converter>
AnnotationReflectionConverter. cachedConverters
Deprecated.Methods in com.thoughtworks.xstream.annotations that return Converter Modifier and Type Method Description private Converter
AnnotationReflectionConverter. newInstance(java.lang.Class<? extends ConverterMatcher> type)
Deprecated.Instantiates a converter using its default constructor. -
Uses of Converter in com.thoughtworks.xstream.converters
Classes in com.thoughtworks.xstream.converters that implement Converter Modifier and Type Class Description class
SingleValueConverterWrapper
Wrapper to convert aSingleValueConverter
into aConverter
.Methods in com.thoughtworks.xstream.converters that return Converter Modifier and Type Method Description Converter
ConverterLookup. lookupConverterForType(java.lang.Class type)
Lookup a converter for a specific type.Methods in com.thoughtworks.xstream.converters with parameters of type Converter Modifier and Type Method Description void
MarshallingContext. convertAnother(java.lang.Object nextItem, Converter converter)
Converts another object using the specified converterjava.lang.Object
UnmarshallingContext. convertAnother(java.lang.Object current, java.lang.Class type, Converter converter)
void
ConverterRegistry. registerConverter(Converter converter, int priority)
-
Uses of Converter in com.thoughtworks.xstream.converters.basic
Classes in com.thoughtworks.xstream.converters.basic that implement Converter Modifier and Type Class 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. -
Uses of Converter in com.thoughtworks.xstream.converters.collections
Classes in com.thoughtworks.xstream.converters.collections that implement Converter Modifier and Type Class 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. -
Uses of Converter in com.thoughtworks.xstream.converters.enums
Classes in com.thoughtworks.xstream.converters.enums that implement Converter Modifier and Type Class 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. -
Uses of Converter in com.thoughtworks.xstream.converters.extended
Classes in com.thoughtworks.xstream.converters.extended that implement Converter Modifier and Type Class Description class
ActivationDataFlavorConverter
Converts anActivationDataFlavor
.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 by default 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 aSubject
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.Fields in com.thoughtworks.xstream.converters.extended declared as Converter Modifier and Type Field Description private Converter
ThrowableConverter. defaultConverter
Methods in com.thoughtworks.xstream.converters.extended that return Converter Modifier and Type Method Description private Converter
ThrowableConverter. getConverter()
Constructors in com.thoughtworks.xstream.converters.extended with parameters of type Converter Constructor Description RegexPatternConverter(Converter defaultConverter)
Deprecated.As of 1.4.5, useRegexPatternConverter()
insteadThrowableConverter(Converter defaultConverter)
Deprecated.As of 1.4.5 useThrowableConverter(ConverterLookup)
-
Uses of Converter in com.thoughtworks.xstream.converters.javabean
Classes in com.thoughtworks.xstream.converters.javabean that implement Converter Modifier and Type Class Description class
JavaBeanConverter
Can convert any bean with a public default constructor. -
Uses of Converter in com.thoughtworks.xstream.converters.reflection
Classes in com.thoughtworks.xstream.converters.reflection that implement Converter Modifier and Type Class Description class
AbstractReflectionConverter
class
CGLIBEnhancedConverter
Converts a proxy created by the CGLIBEnhancer
.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
SelfStreamingInstanceChecker
Deprecated.As of 1.4.5 useSelfStreamingInstanceChecker
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.Constructors in com.thoughtworks.xstream.converters.reflection with parameters of type Converter Constructor Description SelfStreamingInstanceChecker(Converter defaultConverter, java.lang.Object xstream)
Deprecated. -
Uses of Converter in com.thoughtworks.xstream.converters.time
Classes in com.thoughtworks.xstream.converters.time that implement Converter Modifier and Type Class Description class
SystemClockConverter
Converts a systemClock
, using zone as nested element.class
ValueRangeConverter
Converts a temporalValueRange
, using four nested elements: maxLargest, maxSmallest, minLargest, and minSmallest.class
WeekFieldsConverter
Converts aWeekFields
instance, using two nested elements: minimalDays and minSmallest. -
Uses of Converter in com.thoughtworks.xstream.core
Methods in com.thoughtworks.xstream.core that return Converter Modifier and Type Method Description Converter
DefaultConverterLookup. lookupConverterForType(java.lang.Class type)
Methods in com.thoughtworks.xstream.core with parameters of type Converter Modifier and Type Method Description private void
TreeUnmarshaller. addInformationTo(ErrorWriter errorWriter, java.lang.Class type, Converter converter, java.lang.Object parent)
void
AbstractReferenceMarshaller. convert(java.lang.Object item, Converter converter)
protected java.lang.Object
AbstractReferenceUnmarshaller. convert(java.lang.Object parent, java.lang.Class type, Converter converter)
protected void
TreeMarshaller. convert(java.lang.Object item, Converter converter)
protected java.lang.Object
TreeUnmarshaller. convert(java.lang.Object parent, java.lang.Class type, Converter converter)
void
TreeMarshaller. convertAnother(java.lang.Object item, Converter converter)
java.lang.Object
TreeUnmarshaller. convertAnother(java.lang.Object parent, java.lang.Class type, Converter converter)
void
DefaultConverterLookup. registerConverter(Converter converter, int priority)
-
Uses of Converter in com.thoughtworks.xstream.core.util
Classes in com.thoughtworks.xstream.core.util that implement Converter Modifier and Type Class Description class
SelfStreamingInstanceChecker
A special converter that prevents self-serialization.Fields in com.thoughtworks.xstream.core.util declared as Converter Modifier and Type Field Description private Converter
SelfStreamingInstanceChecker. defaultConverter
Methods in com.thoughtworks.xstream.core.util that return Converter Modifier and Type Method Description private Converter
SelfStreamingInstanceChecker. getConverter()
Constructors in com.thoughtworks.xstream.core.util with parameters of type Converter Constructor Description SelfStreamingInstanceChecker(Converter defaultConverter, java.lang.Object xstream)
Deprecated.As of 1.4.5 useSelfStreamingInstanceChecker(ConverterLookup, Object)
-
Uses of Converter in com.thoughtworks.xstream.mapper
Fields in com.thoughtworks.xstream.mapper with type parameters of type Converter Modifier and Type Field Description private java.util.Map<java.lang.Class<?>,java.util.Map<java.util.List<java.lang.Object>,Converter>>
AnnotationMapper. converterCache
Methods in com.thoughtworks.xstream.mapper that return Converter Modifier and Type Method Description private Converter
AnnotationMapper. cacheConverter(XStreamConverter annotation, java.lang.Class targetType)
Converter
AnnotationMapper. getLocalConverter(java.lang.Class definedIn, java.lang.String fieldName)
Converter
DefaultMapper. getLocalConverter(java.lang.Class definedIn, java.lang.String fieldName)
Converter
LocalConversionMapper. getLocalConverter(java.lang.Class definedIn, java.lang.String fieldName)
Converter
Mapper. getLocalConverter(java.lang.Class definedIn, java.lang.String fieldName)
Converter
MapperWrapper. getLocalConverter(java.lang.Class definedIn, java.lang.String fieldName)
Methods in com.thoughtworks.xstream.mapper with parameters of type Converter Modifier and Type Method Description void
LocalConversionMapper. registerLocalConverter(java.lang.Class definedIn, java.lang.String fieldName, Converter converter)
-