Uses of Interface
com.thoughtworks.xstream.mapper.Mapper
Packages that use Mapper
Package
Description
Converters for collection objects that write their items as
nested elements, such as arrays, Lists, Sets and Maps.
Extra converters that may not be enabled in XStream by default.
Extra converters for the java.time package.
-
Uses of Mapper in com.thoughtworks.xstream
Fields in com.thoughtworks.xstream declared as MapperMethods in com.thoughtworks.xstream that return MapperModifier and TypeMethodDescriptionprivate Mapper
XStream.buildMapper()
private Mapper
XStream.buildMapperDynamically
(String className, Class[] constructorParamTypes, Object[] constructorParamValues) XStream.getMapper()
Retrieve theMapper
.Methods in com.thoughtworks.xstream with parameters of type MapperModifier and TypeMethodDescriptionvoid
MarshallingStrategy.marshal
(HierarchicalStreamWriter writer, Object obj, ConverterLookup converterLookup, Mapper mapper, DataHolder dataHolder) MarshallingStrategy.unmarshal
(Object root, HierarchicalStreamReader reader, DataHolder dataHolder, ConverterLookup converterLookup, Mapper mapper) Constructors in com.thoughtworks.xstream with parameters of type MapperModifierConstructorDescriptionXStream
(ReflectionProvider reflectionProvider, HierarchicalStreamDriver driver, ClassLoaderReference classLoaderReference, Mapper mapper) Constructs an XStream with a specialHierarchicalStreamDriver
,ReflectionProvider
, a preparedMapper
chain and theClassLoaderReference
.XStream
(ReflectionProvider reflectionProvider, HierarchicalStreamDriver driver, ClassLoaderReference classLoaderReference, Mapper mapper, ConverterLookup converterLookup, ConverterRegistry converterRegistry) Constructs an XStream with a specialHierarchicalStreamDriver
,ReflectionProvider
, a preparedMapper
chain, theClassLoaderReference
and an ownConverterLookup
andConverterRegistry
.private
XStream
(ReflectionProvider reflectionProvider, HierarchicalStreamDriver driver, ClassLoaderReference classLoader, Mapper mapper, DefaultConverterLookup defaultConverterLookup) XStream
(ReflectionProvider reflectionProvider, HierarchicalStreamDriver driver, ClassLoader classLoader, Mapper mapper) Deprecated.XStream
(ReflectionProvider reflectionProvider, HierarchicalStreamDriver driver, ClassLoader classLoader, Mapper mapper, ConverterLookup converterLookup, ConverterRegistry converterRegistry) XStream
(ReflectionProvider reflectionProvider, Mapper mapper, HierarchicalStreamDriver driver) Deprecated.As of 1.3, useXStream(ReflectionProvider, HierarchicalStreamDriver, ClassLoader, Mapper)
instead -
Uses of Mapper in com.thoughtworks.xstream.annotations
Constructors in com.thoughtworks.xstream.annotations with parameters of type MapperModifierConstructorDescriptionAnnotationReflectionConverter
(Mapper mapper, ReflectionProvider reflectionProvider, AnnotationProvider annotationProvider) Deprecated. -
Uses of Mapper in com.thoughtworks.xstream.converters.collections
Fields in com.thoughtworks.xstream.converters.collections declared as MapperMethods in com.thoughtworks.xstream.converters.collections that return MapperConstructors in com.thoughtworks.xstream.converters.collections with parameters of type MapperModifierConstructorDescriptionAbstractCollectionConverter
(Mapper mapper) ArrayConverter
(Mapper mapper) CollectionConverter
(Mapper mapper) CollectionConverter
(Mapper mapper, Class type) Construct a CollectionConverter for a special Collection type.MapConverter
(Mapper mapper) MapConverter
(Mapper mapper, Class type) Construct a MapConverter for a special Map type.SingletonCollectionConverter
(Mapper mapper) Construct a SingletonCollectionConverter.SingletonMapConverter
(Mapper mapper) Construct a SingletonMapConverter.TreeMapConverter
(Mapper mapper) TreeSetConverter
(Mapper mapper) -
Uses of Mapper in com.thoughtworks.xstream.converters.enums
Fields in com.thoughtworks.xstream.converters.enums declared as MapperConstructors in com.thoughtworks.xstream.converters.enums with parameters of type Mapper -
Uses of Mapper in com.thoughtworks.xstream.converters.extended
Classes in com.thoughtworks.xstream.converters.extended that implement MapperFields in com.thoughtworks.xstream.converters.extended declared as MapperModifier and TypeFieldDescriptionprivate final Mapper
NamedMapConverter.enumMapper
private final Mapper
ToAttributedValueConverter.enumMapper
private Mapper
AtomicReferenceConverter.mapper
private Mapper
DynamicProxyConverter.mapper
private final Mapper
FontConverter.mapper
private Mapper
JavaClassConverter.mapper
private final Mapper
JavaFieldConverter.mapper
private final Mapper
NamedArrayConverter.mapper
private Mapper
OptionalConverter.mapper
private final Mapper
ToAttributedValueConverter.mapper
Methods in com.thoughtworks.xstream.converters.extended that return MapperModifier and TypeMethodDescription(package private) static Mapper
UseAttributeForEnumMapper.createEnumMapper
(Mapper mapper) Methods in com.thoughtworks.xstream.converters.extended with parameters of type MapperModifier and TypeMethodDescription(package private) static Mapper
UseAttributeForEnumMapper.createEnumMapper
(Mapper mapper) Constructors in com.thoughtworks.xstream.converters.extended with parameters of type MapperModifierConstructorDescriptionAtomicReferenceConverter
(Mapper mapper) DynamicProxyConverter
(Mapper mapper) Deprecated.As of 1.4.5 useDynamicProxyConverter(Mapper, ClassLoaderReference)
DynamicProxyConverter
(Mapper mapper, ClassLoaderReference classLoaderReference) Construct a DynamicProxyConverter.DynamicProxyConverter
(Mapper mapper, ClassLoader classLoader) Deprecated.As of 1.4.5 useDynamicProxyConverter(Mapper, ClassLoaderReference)
FontConverter
(Mapper mapper) Constructs a FontConverter.protected
JavaClassConverter
(Mapper mapper) Construct a JavaClassConverter that uses a provided mapper.protected
JavaFieldConverter
(SingleValueConverter javaClassConverter, Mapper mapper) Construct a JavaFieldConverter.LookAndFeelConverter
(Mapper mapper, ReflectionProvider reflectionProvider) Constructs a LookAndFeelConverter.NamedArrayConverter
(Class arrayType, Mapper mapper, String itemName) Construct a NamedArrayConverter.NamedCollectionConverter
(Mapper mapper, String itemName, Class itemType) Constructs a NamedCollectionConverter.NamedCollectionConverter
(Class type, Mapper mapper, String itemName, Class itemType) Constructs a NamedCollectionConverter handling an explicit Collection type.NamedMapConverter
(Mapper mapper, String entryName, String keyName, Class keyType, String valueName, Class valueType) Constructs a NamedMapConverter.NamedMapConverter
(Mapper mapper, String entryName, String keyName, Class keyType, String valueName, Class valueType, boolean keyAsAttribute, boolean valueAsAttribute, ConverterLookup lookup) Constructs a NamedMapConverter with attribute support.NamedMapConverter
(Class type, Mapper mapper, String entryName, String keyName, Class keyType, String valueName, Class valueType) Constructs a NamedMapConverter handling an explicit Map type.NamedMapConverter
(Class type, Mapper mapper, String entryName, String keyName, Class keyType, String valueName, Class valueType, boolean keyAsAttribute, boolean valueAsAttribute, ConverterLookup lookup) Constructs a NamedMapConverter with attribute support handling an explicit Map type.OptionalConverter
(Mapper mapper) SubjectConverter
(Mapper mapper) ToAttributedValueConverter
(Class type, Mapper mapper, ReflectionProvider reflectionProvider, ConverterLookup lookup) Creates a new ToAttributedValueConverter instance.ToAttributedValueConverter
(Class type, Mapper mapper, ReflectionProvider reflectionProvider, ConverterLookup lookup, String valueFieldName) Creates a new ToAttributedValueConverter instance.ToAttributedValueConverter
(Class type, Mapper mapper, ReflectionProvider reflectionProvider, ConverterLookup lookup, String valueFieldName, Class valueDefinedIn) Creates a new ToAttributedValueConverter instance.UseAttributeForEnumMapper
(Mapper wrapped) -
Uses of Mapper in com.thoughtworks.xstream.converters.javabean
Fields in com.thoughtworks.xstream.converters.javabean declared as MapperConstructors in com.thoughtworks.xstream.converters.javabean with parameters of type MapperModifierConstructorDescriptionJavaBeanConverter
(Mapper mapper) JavaBeanConverter
(Mapper mapper, JavaBeanProvider beanProvider) JavaBeanConverter
(Mapper mapper, JavaBeanProvider beanProvider, Class type) JavaBeanConverter
(Mapper mapper, Class type) JavaBeanConverter
(Mapper mapper, String classAttributeIdentifier) Deprecated.As of 1.3, useJavaBeanConverter(Mapper)
andXStream.aliasAttribute(String, String)
-
Uses of Mapper in com.thoughtworks.xstream.converters.reflection
Fields in com.thoughtworks.xstream.converters.reflection declared as MapperModifier and TypeFieldDescriptionprotected final Mapper
AbstractReflectionConverter.mapper
private Mapper
ExternalizableConverter.mapper
Constructors in com.thoughtworks.xstream.converters.reflection with parameters of type MapperModifierConstructorDescriptionAbstractReflectionConverter
(Mapper mapper, ReflectionProvider reflectionProvider) CGLIBEnhancedConverter
(Mapper mapper, ReflectionProvider reflectionProvider) Deprecated.CGLIBEnhancedConverter
(Mapper mapper, ReflectionProvider reflectionProvider, ClassLoaderReference classLoaderReference) Construct a CGLIBEnhancedConverter.CGLIBEnhancedConverter
(Mapper mapper, ReflectionProvider reflectionProvider, ClassLoader classLoader) Deprecated.ExternalizableConverter
(Mapper mapper) Deprecated.As of 1.4 useExternalizableConverter(Mapper, ClassLoader)
ExternalizableConverter
(Mapper mapper, ClassLoaderReference classLoaderReference) Construct an ExternalizableConverter.ExternalizableConverter
(Mapper mapper, ClassLoader classLoader) Deprecated.As of 1.4.5 useExternalizableConverter(Mapper, ClassLoaderReference)
LambdaConverter
(Mapper mapper, ReflectionProvider reflectionProvider, ClassLoaderReference classLoaderReference) Constructs a LambdaConverter.ReflectionConverter
(Mapper mapper, ReflectionProvider reflectionProvider) ReflectionConverter
(Mapper mapper, ReflectionProvider reflectionProvider, Class type) Construct a ReflectionConverter for an explicit type.SerializableConverter
(Mapper mapper, ReflectionProvider reflectionProvider) Deprecated.SerializableConverter
(Mapper mapper, ReflectionProvider reflectionProvider, ClassLoaderReference classLoaderReference) Construct a SerializableConverter.SerializableConverter
(Mapper mapper, ReflectionProvider reflectionProvider, ClassLoader classLoader) Deprecated. -
Uses of Mapper in com.thoughtworks.xstream.converters.time
Fields in com.thoughtworks.xstream.converters.time declared as MapperModifier and TypeFieldDescriptionprivate final Mapper
SystemClockConverter.mapper
private final Mapper
ValueRangeConverter.mapper
private final Mapper
WeekFieldsConverter.mapper
Constructors in com.thoughtworks.xstream.converters.time with parameters of type MapperModifierConstructorDescriptionSystemClockConverter
(Mapper mapper) Constructs a SystemClockConverter instance.ValueRangeConverter
(Mapper mapper) Constructs a ValueRangeConverter instance.WeekFieldsConverter
(Mapper mapper) Constructs a WeekFieldsConverter instance. -
Uses of Mapper in com.thoughtworks.xstream.core
Fields in com.thoughtworks.xstream.core declared as MapperModifier and TypeFieldDescriptionprivate Mapper
TreeMarshaller.mapper
private Mapper
TreeUnmarshaller.mapper
Methods in com.thoughtworks.xstream.core that return MapperModifier and TypeMethodDescriptionprotected Mapper
TreeMarshaller.getMapper()
protected Mapper
TreeUnmarshaller.getMapper()
Methods in com.thoughtworks.xstream.core with parameters of type MapperModifier and TypeMethodDescriptionprotected abstract TreeMarshaller
AbstractTreeMarshallingStrategy.createMarshallingContext
(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper) protected TreeMarshaller
ReferenceByIdMarshallingStrategy.createMarshallingContext
(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper) protected TreeMarshaller
ReferenceByXPathMarshallingStrategy.createMarshallingContext
(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper) protected TreeMarshaller
TreeMarshallingStrategy.createMarshallingContext
(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper) protected abstract TreeUnmarshaller
AbstractTreeMarshallingStrategy.createUnmarshallingContext
(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper) protected TreeUnmarshaller
ReferenceByIdMarshallingStrategy.createUnmarshallingContext
(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper) protected TreeUnmarshaller
ReferenceByXPathMarshallingStrategy.createUnmarshallingContext
(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper) protected TreeUnmarshaller
TreeMarshallingStrategy.createUnmarshallingContext
(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper) void
AbstractTreeMarshallingStrategy.marshal
(HierarchicalStreamWriter writer, Object obj, ConverterLookup converterLookup, Mapper mapper, DataHolder dataHolder) AbstractTreeMarshallingStrategy.unmarshal
(Object root, HierarchicalStreamReader reader, DataHolder dataHolder, ConverterLookup converterLookup, Mapper mapper) Constructors in com.thoughtworks.xstream.core with parameters of type MapperModifierConstructorDescriptionAbstractReferenceMarshaller
(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper) AbstractReferenceUnmarshaller
(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper) DefaultConverterLookup
(Mapper mapper) Deprecated.As of 1.3, useDefaultConverterLookup()
ReferenceByIdMarshaller
(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper) ReferenceByIdMarshaller
(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper, ReferenceByIdMarshaller.IDGenerator idGenerator) ReferenceByIdUnmarshaller
(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper) ReferenceByXPathMarshaller
(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper, int mode) ReferenceByXPathUnmarshaller
(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper) TreeMarshaller
(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper) TreeUnmarshaller
(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper) -
Uses of Mapper in com.thoughtworks.xstream.core.util
Methods in com.thoughtworks.xstream.core.util with parameters of type MapperModifier and TypeMethodDescriptionstatic String
HierarchicalStreams.readClassAttribute
(HierarchicalStreamReader reader, Mapper mapper) static Class
HierarchicalStreams.readClassType
(HierarchicalStreamReader reader, Mapper mapper) -
Uses of Mapper in com.thoughtworks.xstream.mapper
Classes in com.thoughtworks.xstream.mapper that implement MapperModifier and TypeClassDescriptionclass
Abstract base class for AttributeAliassingMapper and its system version.class
Deprecated.As of 1.4 useXmlFriendlyReader
class
A mapper that uses annotations to prepare the remaining mappers in the chain.class
Mapper that detects arrays and changes the name so it can identified as an array (for example Foo[] gets serialized as foo-array).class
Mapper that allows aliasing of attribute names.class
Mapper that allows the usage of attributes for fields and corresponding types or specified arbitrary types.class
Mapper that caches which names map to which classes.class
Mapper that detects proxies generated by the CGLIB enhancer.class
Mapper that allows a fully qualified class name to be replaced with an alias.class
Mapper that resolves default implementations of classes.class
Default mapper implementation with 'vanilla' functionality.class
Mapper for handling special cases of aliasing dynamic proxies.class
Mapper that allows an field of a specific class to be omitted entirely.class
Mapper that handles the special case of polymorphic enums in Java 1.5.class
Mapper that allows a field of a specific class to be replaced with a shorter alias.class
Mapper that specifies which types are basic immutable types.class
class
Mapper to map serializable lambda types to the name of their functional interface and non-serializable ones to Mapper.Null.class
A Mapper for locally defined converters for a member field.class
class
Mapper that uses a more meaningful alias for the field in an inner class (this$0) that refers to the outer class.class
Mapper that allows a package name to be replaced with an alias.class
A Mapper implementation injecting a security layer based on permission rules for any type required in the unmarshalling process.class
Mapper that allows aliasing of system attribute names.class
Deprecated.As of 1.3 useXmlFriendlyReader
class
Deprecated.As of 1.4 useXmlFriendlyReader
Fields in com.thoughtworks.xstream.mapper declared as MapperModifier and TypeFieldDescriptionprivate final Mapper
MapperWrapper.aliasForAttributeMapper
private final Mapper
MapperWrapper.aliasForSystemAttributeMapper
private final Mapper
MapperWrapper.attributeForAliasMapper
private final Mapper
MapperWrapper.defaultImplementationOfMapper
private final Mapper
MapperWrapper.getConverterFromAttributeMapper
private final Mapper
MapperWrapper.getConverterFromItemTypeMapper
private final Mapper
MapperWrapper.getFieldNameForItemTypeAndNameMapper
private final Mapper
MapperWrapper.getImplicitCollectionDefForFieldNameMapper
private final Mapper
MapperWrapper.getItemTypeForItemFieldNameMapper
private final Mapper
MapperWrapper.getLocalConverterMapper
private final Mapper
MapperWrapper.isIgnoredElementMapper
private final Mapper
MapperWrapper.isImmutableValueTypeMapper
private final Mapper
MapperWrapper.isReferenceableMapper
private final Mapper
MapperWrapper.realClassMapper
private final Mapper
MapperWrapper.realMemberMapper
private final Mapper
MapperWrapper.serializedClassMapper
private final Mapper
MapperWrapper.serializedMemberMapper
private final Mapper
MapperWrapper.shouldSerializeMemberMapper
private final Mapper
MapperWrapper.wrapped
Methods in com.thoughtworks.xstream.mapper that return MapperModifier and TypeMethodDescriptionDefaultMapper.lookupMapperOfType
(Class type) Mapper.lookupMapperOfType
(Class type) MapperWrapper.lookupMapperOfType
(Class type) Constructors in com.thoughtworks.xstream.mapper with parameters of type MapperModifierConstructorDescriptionAbstractAttributeAliasingMapper
(Mapper wrapped) protected
AbstractXmlFriendlyMapper
(Mapper wrapped) Deprecated.AnnotationMapper
(Mapper wrapped, ConverterRegistry converterRegistry, ConverterLookup converterLookup, ClassLoaderReference classLoaderReference, ReflectionProvider reflectionProvider) Construct an AnnotationMapper.AnnotationMapper
(Mapper wrapped, ConverterRegistry converterRegistry, ConverterLookup converterLookup, ClassLoader classLoader, ReflectionProvider reflectionProvider, JVM jvm) Deprecated.ArrayMapper
(Mapper wrapped) AttributeAliasingMapper
(Mapper wrapped) AttributeMapper
(Mapper wrapped) Deprecated.As of 1.3AttributeMapper
(Mapper wrapped, ConverterLookup converterLookup, ReflectionProvider refProvider) CachingMapper
(Mapper wrapped) CGLIBMapper
(Mapper wrapped) CGLIBMapper
(Mapper wrapped, String alias) ClassAliasingMapper
(Mapper wrapped) DefaultImplementationsMapper
(Mapper wrapped) DynamicProxyMapper
(Mapper wrapped) DynamicProxyMapper
(Mapper wrapped, String alias) ElementIgnoringMapper
(Mapper wrapped) EnumMapper
(Mapper wrapped) EnumMapper
(Mapper wrapped, ConverterLookup lookup) Deprecated.As of 1.3.1, useEnumMapper(Mapper)
FieldAliasingMapper
(Mapper wrapped) ImmutableTypesMapper
(Mapper wrapped) ImplicitCollectionMapper
(Mapper wrapped, ReflectionProvider reflectionProvider) LambdaMapper
(Mapper wrapped) Constructs a LambdaMapper.LocalConversionMapper
(Mapper wrapped) Constructs a LocalConversionMapper.MapperWrapper
(Mapper wrapped) OuterClassMapper
(Mapper wrapped) OuterClassMapper
(Mapper wrapped, String alias) PackageAliasingMapper
(Mapper wrapped) SecurityMapper
(Mapper wrapped) Construct a SecurityMapper.SecurityMapper
(Mapper wrapped, TypePermission[] permissions) Construct a SecurityMapper.SystemAttributeAliasingMapper
(Mapper wrapped) XmlFriendlyMapper
(Mapper wrapped) Deprecated.As of 1.3 useXmlFriendlyReader
XStream11XmlFriendlyMapper
(Mapper wrapped) Deprecated. -
Uses of Mapper in com.thoughtworks.xstream.persistence
Methods in com.thoughtworks.xstream.persistence that return Mapper
XStream(ReflectionProvider, HierarchicalStreamDriver, ClassLoaderReference, Mapper)