Uses of Interface
com.thoughtworks.xstream.converters.SingleValueConverter
Packages that use SingleValueConverter
Package
Description
Converters for common basic types in Java.
Extra converters that may not be enabled in XStream by default.
Extra converters for the java.time package.
-
Uses of SingleValueConverter in com.thoughtworks.xstream
Methods in com.thoughtworks.xstream with parameters of type SingleValueConverterModifier and TypeMethodDescriptionvoid
XStream.registerConverter
(SingleValueConverter converter) void
XStream.registerConverter
(SingleValueConverter converter, int priority) void
XStream.registerLocalConverter
(Class definedIn, String fieldName, SingleValueConverter converter) Register a localSingleValueConverter
for a field. -
Uses of SingleValueConverter in com.thoughtworks.xstream.converters
Classes in com.thoughtworks.xstream.converters that implement SingleValueConverterModifier and TypeClassDescriptionclass
Wrapper to convert aSingleValueConverter
into aConverter
.Fields in com.thoughtworks.xstream.converters declared as SingleValueConverterModifier and TypeFieldDescriptionprivate final SingleValueConverter
SingleValueConverterWrapper.wrapped
Constructors in com.thoughtworks.xstream.converters with parameters of type SingleValueConverter -
Uses of SingleValueConverter in com.thoughtworks.xstream.converters.basic
Classes in com.thoughtworks.xstream.converters.basic that implement SingleValueConverterModifier and TypeClassDescriptionclass
Base abstract implementation ofSingleValueConverter
.class
Converts a java.math.BigDecimal to a String, retaining its precision.class
Converts a java.math.BigInteger to a String.class
Converts a boolean primitive or java.lang.Boolean wrapper to a String.class
Converts a byte primitive or java.lang.Byte wrapper to a String.class
Converts a char primitive or java.lang.Character wrapper to a String.class
Converts aDate
to a string as a date format, retaining precision down to milliseconds.class
Converts a double primitive or java.lang.Double wrapper to a String.class
Converts a float primitive or java.lang.Float wrapper to a String.class
Converts an int primitive or java.lang.Integer wrapper to a String.class
Converts a long primitive or java.lang.Long wrapper to a String.class
Converts a short primitive or java.lang.Short wrapper to a String.class
Converts the contents of a StringBuffer to XML.class
Converts the contents of a StringBuilder to XML.class
Converts a String to a String ;).class
Converts a java.net.URI to a string.class
Converts a java.net.URL to a string.class
Converts a java.util.UUID to a string. -
Uses of SingleValueConverter in com.thoughtworks.xstream.converters.enums
Classes in com.thoughtworks.xstream.converters.enums that implement SingleValueConverterModifier and TypeClassDescriptionclass
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. -
Uses of SingleValueConverter in com.thoughtworks.xstream.converters.extended
Classes in com.thoughtworks.xstream.converters.extended that implement SingleValueConverterModifier and TypeClassDescriptionclass
Converts an AtomicBoolean type.class
Converts an AtomicInteger type.class
Converts an AtomicLong type.class
Converts a java.nio.charset.Carset to a string.class
Converts a java.util.Currency to String.class
class
Converts a byte array by default to a single Base64 encoding string.class
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
A DateConverter conforming to the ISO8601 standard.class
A GregorianCalendarConverter conforming to the ISO8601 standard.class
A SqlTimestampConverter conforming to the ISO8601 standard.class
Converts a java.lang.Class to XML.class
Converts a java.util.Locale to a string.class
Converts an AtomicReference type.class
Converts an AtomicReference type.class
Converts an AtomicReference type.class
Converts aPath
to string.class
A SingleValueConverter that can utilize aPropertyEditor
implementation used for a specific type.class
Converts a java.sql.Date to text.class
Converts a java.sql.Time to text.class
Converts aTimestamp
to a string.class
Converter for StackTraceElement (the lines of a stack trace) - JDK 1.4+ only.class
A converter forTextAttribute
constants.class
Convenient converter for classes with natural string representation.Fields in com.thoughtworks.xstream.converters.extended declared as SingleValueConverterModifier and TypeFieldDescriptionprivate final SingleValueConverter
ISO8601GregorianCalendarConverter.converter
private final SingleValueConverter
JavaFieldConverter.javaClassConverter
private final SingleValueConverter
JavaMethodConverter.javaClassConverter
private final SingleValueConverter
FontConverter.textAttributeConverter
Methods in com.thoughtworks.xstream.converters.extended that return SingleValueConverterModifier and TypeMethodDescriptionUseAttributeForEnumMapper.getConverterFromAttribute
(Class definedIn, String attribute, Class type) UseAttributeForEnumMapper.getConverterFromItemType
(String fieldName, Class type, Class definedIn) private SingleValueConverter
NamedMapConverter.getSingleValueConverter
(Class type, String part) Constructors in com.thoughtworks.xstream.converters.extended with parameters of type SingleValueConverterModifierConstructorDescriptionprotected
JavaFieldConverter
(SingleValueConverter javaClassConverter, Mapper mapper) Construct a JavaFieldConverter.protected
JavaMethodConverter
(SingleValueConverter javaClassConverter) Construct a JavaMethodConverter. -
Uses of SingleValueConverter in com.thoughtworks.xstream.converters.reflection
Classes in com.thoughtworks.xstream.converters.reflection that implement SingleValueConverterModifier and TypeClassDescriptionclass
An abstract converter implementation for constants ofAttributedCharacterIterator.Attribute
and derived types. -
Uses of SingleValueConverter in com.thoughtworks.xstream.converters.time
Classes in com.thoughtworks.xstream.converters.time that implement SingleValueConverterModifier and TypeClassDescription(package private) class
AbstractChronoLocalDateConverter<E extends Era>
Abstract base class for converters handling derived classes ofChronoLocalDate
instances.class
Converts aChronology
instance to a string using its id.class
Converts aDuration
instance to string.class
Converts aHijrahDate
to a string.class
Converts aInstant
instance to string.class
Converts aJapaneseDate
to a string.class
Converts aJapaneseEra
instance to a string using its id.class
Converts aLocalDate
to a string.class
Converts aLocalDateTime
to a string.class
Converts aLocalTime
to a string.class
Converts aMinguoDate
to a string.class
Converts aMonthDay
instance to string.class
Converts aOffsetDateTime
to a string.class
Converts aOffsetTime
to a string.class
Converts aPeriod
instance to string.class
Converts aThaiBuddhistDate
to a string.class
Converts aYear
instance to string.class
Converts aYearMonth
instance to string.class
Converts aZonedDateTime
to a string.class
Converts aZoneId
instance to string. -
Uses of SingleValueConverter in com.thoughtworks.xstream.core.util
Classes in com.thoughtworks.xstream.core.util that implement SingleValueConverterModifier and TypeClassDescriptionclass
A converter forGregorianCalendar
conforming to the ISO8601 standard based on java.time. -
Uses of SingleValueConverter in com.thoughtworks.xstream.mapper
Fields in com.thoughtworks.xstream.mapper with type parameters of type SingleValueConverterModifier and TypeFieldDescriptionprivate Map
<Class, SingleValueConverter> EnumMapper.enumConverterMap
Methods in com.thoughtworks.xstream.mapper that return SingleValueConverterModifier and TypeMethodDescriptionAttributeMapper.getConverterFromAttribute
(Class definedIn, String attribute) Deprecated.AttributeMapper.getConverterFromAttribute
(Class definedIn, String attribute, Class type) AttributeMapper.getConverterFromAttribute
(String attributeName) Deprecated.DefaultMapper.getConverterFromAttribute
(Class definedIn, String attribute) Deprecated.As of 1.3.1, useDefaultMapper.getConverterFromAttribute(Class, String, Class)
DefaultMapper.getConverterFromAttribute
(Class definedIn, String attribute, Class type) DefaultMapper.getConverterFromAttribute
(String name) Deprecated.EnumMapper.getConverterFromAttribute
(Class definedIn, String attribute, Class type) LocalConversionMapper.getConverterFromAttribute
(Class definedIn, String attribute, Class type) Mapper.getConverterFromAttribute
(Class definedIn, String attribute) Deprecated.As of 1.3.1, useMapper.getConverterFromAttribute(Class, String, Class)
Mapper.getConverterFromAttribute
(Class definedIn, String attribute, Class type) Returns which converter to use for an specific attribute in a type.Mapper.getConverterFromAttribute
(String name) Deprecated.As of 1.3, useMapper.getConverterFromAttribute(Class, String, Class)
MapperWrapper.getConverterFromAttribute
(Class type, String attribute) Deprecated.As of 1.3.1, useMapperWrapper.getConverterFromAttribute(Class, String, Class)
MapperWrapper.getConverterFromAttribute
(Class definedIn, String attribute, Class type) MapperWrapper.getConverterFromAttribute
(String name) Deprecated.AttributeMapper.getConverterFromItemType
(Class type) Deprecated.AttributeMapper.getConverterFromItemType
(String fieldName, Class type) Deprecated.AttributeMapper.getConverterFromItemType
(String fieldName, Class type, Class definedIn) DefaultMapper.getConverterFromItemType
(Class type) Deprecated.As of 1.3, useDefaultMapper.getConverterFromItemType(String, Class, Class)
DefaultMapper.getConverterFromItemType
(String fieldName, Class type) Deprecated.As of 1.3, useDefaultMapper.getConverterFromItemType(String, Class, Class)
DefaultMapper.getConverterFromItemType
(String fieldName, Class type, Class definedIn) EnumMapper.getConverterFromItemType
(String fieldName, Class type, Class definedIn) LocalConversionMapper.getConverterFromItemType
(String fieldName, Class type, Class definedIn) Mapper.getConverterFromItemType
(Class type) Deprecated.As of 1.3, useMapper.getConverterFromItemType(String, Class, Class)
Mapper.getConverterFromItemType
(String fieldName, Class type) Deprecated.As of 1.3, useMapper.getConverterFromItemType(String, Class, Class)
Mapper.getConverterFromItemType
(String fieldName, Class type, Class definedIn) Returns a single value converter to be used in a specific field.MapperWrapper.getConverterFromItemType
(Class type) Deprecated.As of 1.3, useMapperWrapper.getConverterFromItemType(String, Class, Class)
MapperWrapper.getConverterFromItemType
(String fieldName, Class type) Deprecated.As of 1.3, useMapperWrapper.getConverterFromItemType(String, Class, Class)
MapperWrapper.getConverterFromItemType
(String fieldName, Class type, Class definedIn) private SingleValueConverter
EnumMapper.getLocalConverter
(String fieldName, Class type, Class definedIn) private SingleValueConverter
AttributeMapper.getLocalConverterFromItemType
(Class type) private SingleValueConverter
LocalConversionMapper.getLocalSingleValueConverter
(Class definedIn, String fieldName, Class type)
AttributeMapper.getConverterFromAttribute(Class, String, Class)