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 TypeMethodDescriptionvoidXStream.registerConverter(SingleValueConverter converter) voidXStream.registerConverter(SingleValueConverter converter, int priority) voidXStream.registerLocalConverter(Class definedIn, String fieldName, SingleValueConverter converter) Register a localSingleValueConverterfor a field. -
Uses of SingleValueConverter in com.thoughtworks.xstream.converters
Classes in com.thoughtworks.xstream.converters that implement SingleValueConverterModifier and TypeClassDescriptionclassWrapper to convert aSingleValueConverterinto aConverter.Fields in com.thoughtworks.xstream.converters declared as SingleValueConverterModifier and TypeFieldDescriptionprivate final SingleValueConverterSingleValueConverterWrapper.wrappedConstructors 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 TypeClassDescriptionclassBase abstract implementation ofSingleValueConverter.classConverts a java.math.BigDecimal to a String, retaining its precision.classConverts a java.math.BigInteger to a String.classConverts a boolean primitive or java.lang.Boolean wrapper to a String.classConverts a byte primitive or java.lang.Byte wrapper to a String.classConverts a char primitive or java.lang.Character wrapper to a String.classConverts aDateto a string as a date format, retaining precision down to milliseconds.classConverts a double primitive or java.lang.Double wrapper to a String.classConverts a float primitive or java.lang.Float wrapper to a String.classConverts an int primitive or java.lang.Integer wrapper to a String.classConverts a long primitive or java.lang.Long wrapper to a String.classConverts a short primitive or java.lang.Short wrapper to a String.classConverts the contents of a StringBuffer to XML.classConverts the contents of a StringBuilder to XML.classConverts a String to a String ;).classConverts a java.net.URI to a string.classConverts a java.net.URL to a string.classConverts 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 TypeClassDescriptionclassA single value converter for a special enum type.classEnumToStringConverter<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 TypeClassDescriptionclassConverts an AtomicBoolean type.classConverts an AtomicInteger type.classConverts an AtomicLong type.classConverts a java.nio.charset.Carset to a string.classConverts a java.util.Currency to String.classclassConverts a byte array by default to a single Base64 encoding string.classThis converter will take care of storing and retrieving File with either an absolute path OR a relative path depending on how they were created.classA DateConverter conforming to the ISO8601 standard.classA GregorianCalendarConverter conforming to the ISO8601 standard.classA SqlTimestampConverter conforming to the ISO8601 standard.classConverts a java.lang.Class to XML.classConverts a java.util.Locale to a string.classConverts an OptionalDouble type.classConverts an OptionalInt type.classConverts an OptionalLong type.classConverts aPathto string.classA SingleValueConverter that can utilize aPropertyEditorimplementation used for a specific type.classConverts a java.sql.Date to text.classConverts a java.sql.Time to text.classConverts aTimestampto a string.classConverter for StackTraceElement (the lines of a stack trace) - JDK 1.4+ only.classA converter forTextAttributeconstants.classConvenient converter for classes with natural string representation.Fields in com.thoughtworks.xstream.converters.extended declared as SingleValueConverterModifier and TypeFieldDescriptionprivate final SingleValueConverterISO8601GregorianCalendarConverter.converterprivate final SingleValueConverterJavaFieldConverter.javaClassConverterprivate final SingleValueConverterJavaMethodConverter.javaClassConverterprivate final SingleValueConverterFontConverter.textAttributeConverterMethods 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 SingleValueConverterNamedMapConverter.getSingleValueConverter(Class type, String part) Constructors in com.thoughtworks.xstream.converters.extended with parameters of type SingleValueConverterModifierConstructorDescriptionprotectedJavaFieldConverter(SingleValueConverter javaClassConverter, Mapper mapper) Construct a JavaFieldConverter.protectedJavaMethodConverter(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 TypeClassDescriptionclassAn abstract converter implementation for constants ofAttributedCharacterIterator.Attributeand 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) classAbstractChronoLocalDateConverter<E extends Era>Abstract base class for converters handling derived classes ofChronoLocalDateinstances.classConverts aChronologyinstance to a string using its id.classConverts aDurationinstance to string.classConverts aHijrahDateto a string.classConverts aInstantinstance to string.classConverts aJapaneseDateto a string.classConverts aJapaneseErainstance to a string using its id.classConverts aLocalDateto a string.classConverts aLocalDateTimeto a string.classConverts aLocalTimeto a string.classConverts aMinguoDateto a string.classConverts aMonthDayinstance to string.classConverts aOffsetDateTimeto a string.classConverts aOffsetTimeto a string.classConverts aPeriodinstance to string.classConverts aThaiBuddhistDateto a string.classConverts aYearinstance to string.classConverts aYearMonthinstance to string.classConverts aZonedDateTimeto a string.classConverts aZoneIdinstance to string. -
Uses of SingleValueConverter in com.thoughtworks.xstream.core.util
Classes in com.thoughtworks.xstream.core.util that implement SingleValueConverterModifier and TypeClassDescriptionclassA converter forGregorianCalendarconforming 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.enumConverterMapMethods 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 SingleValueConverterEnumMapper.getLocalConverter(String fieldName, Class type, Class definedIn) private SingleValueConverterAttributeMapper.getLocalConverterFromItemType(Class type) private SingleValueConverterLocalConversionMapper.getLocalSingleValueConverter(Class definedIn, String fieldName, Class type)
AttributeMapper.getConverterFromAttribute(Class, String, Class)