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
Methods in com.thoughtworks.xstream with parameters of type Converter Modifier and Type Method Description voidXStream. registerConverter(Converter converter)voidXStream. registerConverter(Converter converter, int priority)voidXStream. registerLocalConverter(java.lang.Class definedIn, java.lang.String fieldName, Converter converter)Register a localConverterfor a field. -
Uses of Converter in com.thoughtworks.xstream.annotations
Classes in com.thoughtworks.xstream.annotations that implement Converter Modifier and Type Class Description classAnnotationReflectionConverterDeprecated.As of 1.3, build intoReflectionConverterFields 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. cachedConvertersDeprecated.Methods in com.thoughtworks.xstream.annotations that return Converter Modifier and Type Method Description private ConverterAnnotationReflectionConverter. 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 classSingleValueConverterWrapperWrapper to convert aSingleValueConverterinto aConverter.Methods in com.thoughtworks.xstream.converters that return Converter Modifier and Type Method Description ConverterConverterLookup. 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 voidMarshallingContext. convertAnother(java.lang.Object nextItem, Converter converter)Converts another object using the specified converterjava.lang.ObjectUnmarshallingContext. convertAnother(java.lang.Object current, java.lang.Class type, Converter converter)voidConverterRegistry. 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 classCharConverterConverts a char primitive or java.lang.Character wrapper to a String.classNullConverterSpecial 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 classAbstractCollectionConverterBase helper class for converters that need to handle collections of items (arrays, Lists, Maps, etc).classArrayConverterConverts an array of objects or primitives to XML, using a nested child element for each item.classBitSetConverterConverts a java.util.BitSet to XML, as a compact comma delimited list of ones and zeros.classCharArrayConverterConverts a char[] to XML, storing the contents as a single String.classCollectionConverterConverts most common Collections (Lists and Sets) to XML, specifying a nested element for each item.classMapConverterConverts a java.util.Map to XML, specifying an 'entry' element with 'key' and 'value' children.classPropertiesConverterSpecial converter for java.util.Properties that stores properties in a more compact form than java.util.Map.classSingletonCollectionConverterConverts singleton collections (list and set) to XML, specifying a nested element for the item.classSingletonMapConverterConverts a singleton map to XML, specifying an 'entry' element with 'key' and 'value' children.classTreeMapConverterConverts a java.util.TreeMap to XML, and serializes the associated java.util.Comparator.classTreeSetConverterConverts a java.util.TreeSet to XML, and serializes the associated java.util.Comparator.classWeakHashMapConverterConverts a WeakHashMap. -
Uses of Converter in com.thoughtworks.xstream.converters.enums
Classes in com.thoughtworks.xstream.converters.enums that implement Converter Modifier and Type Class Description classEnumConverterConverter for JDK 1.5 enums.classEnumMapConverterSerializes an Java 5 EnumMap, including the type of Enum it's for.classEnumSetConverterSerializes 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 classActivationDataFlavorConverterConverts anActivationDataFlavor.classAtomicBooleanConverterConverts an AtomicBoolean type.classAtomicIntegerConverterConverts an AtomicInteger type.classAtomicLongConverterConverts an AtomicLong type.classAtomicReferenceConverterConverts an AtomicReference type.classColorConverterConverts a java.awt.Color to XML, using four nested elements: red, green, blue, alpha.classDynamicProxyConverterConverts a dynamic proxy to XML, storing the implemented interfaces and handler.classEncodedByteArrayConverterConverts a byte array by default to a single Base64 encoding string.classFontConverterclassGregorianCalendarConverterConverts a java.util.GregorianCalendar to XML.classJavaFieldConverterConverts a java.lang.reflect.Field to XML.classJavaMethodConverterConverts a java.lang.reflect.Method to XML.classLookAndFeelConverterA converter for Swing LookAndFeel implementations.classNamedArrayConverterAn array converter that uses predefined names for its items.classNamedCollectionConverterA collection converter that uses predefined names for its items.classNamedMapConverterA map converter that uses predefined names for its elements.classOptionalConverterConverts an Optional type.classOptionalDoubleConverterConverts an OptionalDouble type.classOptionalIntConverterConverts an OptionalInt type.classOptionalLongConverterConverts an OptionalLong type.classRegexPatternConverterEnsures java.util.regex.Pattern is compiled upon deserialization.classSubjectConverterConverts aSubjectinstance.classThrowableConverterConverter for Throwable (and Exception) that retains stack trace.classToAttributedValueConverterConverter 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 ConverterThrowableConverter. defaultConverterMethods in com.thoughtworks.xstream.converters.extended that return Converter Modifier and Type Method Description private ConverterThrowableConverter. 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 classJavaBeanConverterCan 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 classAbstractReflectionConverterclassCGLIBEnhancedConverterConverts a proxy created by the CGLIBEnhancer.classExternalizableConverterConverts any object that implements the java.io.Externalizable interface, allowing compatibility with native Java serialization.classLambdaConverterConverts a lambda type.classReflectionConverterclassSelfStreamingInstanceCheckerDeprecated.As of 1.4.5 useSelfStreamingInstanceCheckerclassSerializableConverterEmulates 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 classSystemClockConverterConverts a systemClock, using zone as nested element.classValueRangeConverterConverts a temporalValueRange, using four nested elements: maxLargest, maxSmallest, minLargest, and minSmallest.classWeekFieldsConverterConverts aWeekFieldsinstance, 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 ConverterDefaultConverterLookup. lookupConverterForType(java.lang.Class type)Methods in com.thoughtworks.xstream.core with parameters of type Converter Modifier and Type Method Description private voidTreeUnmarshaller. addInformationTo(ErrorWriter errorWriter, java.lang.Class type, Converter converter, java.lang.Object parent)voidAbstractReferenceMarshaller. convert(java.lang.Object item, Converter converter)protected java.lang.ObjectAbstractReferenceUnmarshaller. convert(java.lang.Object parent, java.lang.Class type, Converter converter)protected voidTreeMarshaller. convert(java.lang.Object item, Converter converter)protected java.lang.ObjectTreeUnmarshaller. convert(java.lang.Object parent, java.lang.Class type, Converter converter)voidTreeMarshaller. convertAnother(java.lang.Object item, Converter converter)java.lang.ObjectTreeUnmarshaller. convertAnother(java.lang.Object parent, java.lang.Class type, Converter converter)voidDefaultConverterLookup. 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 classSelfStreamingInstanceCheckerA special converter that prevents self-serialization.Fields in com.thoughtworks.xstream.core.util declared as Converter Modifier and Type Field Description private ConverterSelfStreamingInstanceChecker. defaultConverterMethods in com.thoughtworks.xstream.core.util that return Converter Modifier and Type Method Description private ConverterSelfStreamingInstanceChecker. 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. converterCacheMethods in com.thoughtworks.xstream.mapper that return Converter Modifier and Type Method Description private ConverterAnnotationMapper. cacheConverter(XStreamConverter annotation, java.lang.Class targetType)ConverterAnnotationMapper. getLocalConverter(java.lang.Class definedIn, java.lang.String fieldName)ConverterDefaultMapper. getLocalConverter(java.lang.Class definedIn, java.lang.String fieldName)ConverterLocalConversionMapper. getLocalConverter(java.lang.Class definedIn, java.lang.String fieldName)ConverterMapper. getLocalConverter(java.lang.Class definedIn, java.lang.String fieldName)ConverterMapperWrapper. 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 voidLocalConversionMapper. registerLocalConverter(java.lang.Class definedIn, java.lang.String fieldName, Converter converter)
-