Uses of Interface
com.thoughtworks.xstream.mapper.Mapper
-
Packages that use Mapper Package Description com.thoughtworks.xstream com.thoughtworks.xstream.annotations 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 com.thoughtworks.xstream.persistence -
-
Uses of Mapper in com.thoughtworks.xstream
Fields in com.thoughtworks.xstream declared as Mapper Modifier and Type Field Description private Mapper
XStream. mapper
Methods in com.thoughtworks.xstream that return Mapper Modifier and Type Method Description private Mapper
XStream. buildMapper()
private Mapper
XStream. buildMapperDynamically(java.lang.String className, java.lang.Class[] constructorParamTypes, java.lang.Object[] constructorParamValues)
Mapper
XStream. getMapper()
Retrieve theMapper
.Methods in com.thoughtworks.xstream with parameters of type Mapper Modifier and Type Method Description void
MarshallingStrategy. marshal(HierarchicalStreamWriter writer, java.lang.Object obj, ConverterLookup converterLookup, Mapper mapper, DataHolder dataHolder)
java.lang.Object
MarshallingStrategy. unmarshal(java.lang.Object root, HierarchicalStreamReader reader, DataHolder dataHolder, ConverterLookup converterLookup, Mapper mapper)
-
Uses of Mapper in com.thoughtworks.xstream.annotations
Constructors in com.thoughtworks.xstream.annotations with parameters of type Mapper Constructor Description AnnotationReflectionConverter(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 Mapper Modifier and Type Field Description private Mapper
AbstractCollectionConverter. mapper
Methods in com.thoughtworks.xstream.converters.collections that return Mapper Modifier and Type Method Description protected Mapper
AbstractCollectionConverter. mapper()
Constructors in com.thoughtworks.xstream.converters.collections with parameters of type Mapper Constructor Description AbstractCollectionConverter(Mapper mapper)
ArrayConverter(Mapper mapper)
CollectionConverter(Mapper mapper)
CollectionConverter(Mapper mapper, java.lang.Class type)
Construct a CollectionConverter for a special Collection type.MapConverter(Mapper mapper)
MapConverter(Mapper mapper, java.lang.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 Mapper Modifier and Type Field Description private Mapper
EnumSetConverter. mapper
Constructors in com.thoughtworks.xstream.converters.enums with parameters of type Mapper Constructor Description EnumMapConverter(Mapper mapper)
EnumSetConverter(Mapper mapper)
-
Uses of Mapper in com.thoughtworks.xstream.converters.extended
Classes in com.thoughtworks.xstream.converters.extended that implement Mapper Modifier and Type Class Description (package private) class
UseAttributeForEnumMapper
Fields in com.thoughtworks.xstream.converters.extended declared as Mapper Modifier and Type Field Description private Mapper
NamedMapConverter. enumMapper
private Mapper
ToAttributedValueConverter. enumMapper
private Mapper
DynamicProxyConverter. mapper
private Mapper
FontConverter. mapper
private Mapper
JavaClassConverter. mapper
private Mapper
JavaFieldConverter. mapper
private Mapper
NamedArrayConverter. mapper
private Mapper
ToAttributedValueConverter. mapper
Methods in com.thoughtworks.xstream.converters.extended that return Mapper Modifier and Type Method Description (package private) static Mapper
UseAttributeForEnumMapper. createEnumMapper(Mapper mapper)
Methods in com.thoughtworks.xstream.converters.extended with parameters of type Mapper Modifier and Type Method Description (package private) static Mapper
UseAttributeForEnumMapper. createEnumMapper(Mapper mapper)
Constructors in com.thoughtworks.xstream.converters.extended with parameters of type Mapper Constructor Description DynamicProxyConverter(Mapper mapper)
Deprecated.As of 1.4.5 useDynamicProxyConverter(Mapper, ClassLoaderReference)
DynamicProxyConverter(Mapper mapper, ClassLoaderReference classLoaderReference)
Construct a DynamicProxyConverter.DynamicProxyConverter(Mapper mapper, java.lang.ClassLoader classLoader)
Deprecated.As of 1.4.5 useDynamicProxyConverter(Mapper, ClassLoaderReference)
FontConverter(Mapper mapper)
Constructs a FontConverter.JavaClassConverter(Mapper mapper)
Construct a JavaClassConverter that uses a provided mapper.JavaFieldConverter(SingleValueConverter javaClassConverter, Mapper mapper)
Construct a JavaFieldConverter.LookAndFeelConverter(Mapper mapper, ReflectionProvider reflectionProvider)
Constructs a LookAndFeelConverter.NamedArrayConverter(java.lang.Class arrayType, Mapper mapper, java.lang.String itemName)
Construct a NamedArrayConverter.NamedCollectionConverter(Mapper mapper, java.lang.String itemName, java.lang.Class itemType)
Constructs a NamedCollectionConverter.NamedCollectionConverter(java.lang.Class type, Mapper mapper, java.lang.String itemName, java.lang.Class itemType)
Constructs a NamedCollectionConverter handling an explicit Collection type.NamedMapConverter(Mapper mapper, java.lang.String entryName, java.lang.String keyName, java.lang.Class keyType, java.lang.String valueName, java.lang.Class valueType)
Constructs a NamedMapConverter.NamedMapConverter(Mapper mapper, java.lang.String entryName, java.lang.String keyName, java.lang.Class keyType, java.lang.String valueName, java.lang.Class valueType, boolean keyAsAttribute, boolean valueAsAttribute, ConverterLookup lookup)
Constructs a NamedMapConverter with attribute support.NamedMapConverter(java.lang.Class type, Mapper mapper, java.lang.String entryName, java.lang.String keyName, java.lang.Class keyType, java.lang.String valueName, java.lang.Class valueType)
Constructs a NamedMapConverter handling an explicit Map type.NamedMapConverter(java.lang.Class type, Mapper mapper, java.lang.String entryName, java.lang.String keyName, java.lang.Class keyType, java.lang.String valueName, java.lang.Class valueType, boolean keyAsAttribute, boolean valueAsAttribute, ConverterLookup lookup)
Constructs a NamedMapConverter with attribute support handling an explicit Map type.SubjectConverter(Mapper mapper)
ToAttributedValueConverter(java.lang.Class type, Mapper mapper, ReflectionProvider reflectionProvider, ConverterLookup lookup)
Creates a new ToAttributedValueConverter instance.ToAttributedValueConverter(java.lang.Class type, Mapper mapper, ReflectionProvider reflectionProvider, ConverterLookup lookup, java.lang.String valueFieldName)
Creates a new ToAttributedValueConverter instance.ToAttributedValueConverter(java.lang.Class type, Mapper mapper, ReflectionProvider reflectionProvider, ConverterLookup lookup, java.lang.String valueFieldName, java.lang.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 Mapper Modifier and Type Field Description protected Mapper
JavaBeanConverter. mapper
Constructors in com.thoughtworks.xstream.converters.javabean with parameters of type Mapper Constructor Description JavaBeanConverter(Mapper mapper)
JavaBeanConverter(Mapper mapper, JavaBeanProvider beanProvider)
JavaBeanConverter(Mapper mapper, JavaBeanProvider beanProvider, java.lang.Class type)
JavaBeanConverter(Mapper mapper, java.lang.Class type)
JavaBeanConverter(Mapper mapper, java.lang.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 Mapper Modifier and Type Field Description protected Mapper
AbstractReflectionConverter. mapper
private Mapper
ExternalizableConverter. mapper
Constructors in com.thoughtworks.xstream.converters.reflection with parameters of type Mapper Constructor Description AbstractReflectionConverter(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, java.lang.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, java.lang.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, java.lang.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, java.lang.ClassLoader classLoader)
Deprecated. -
Uses of Mapper in com.thoughtworks.xstream.converters.time
Fields in com.thoughtworks.xstream.converters.time declared as Mapper Modifier and Type Field Description private Mapper
SystemClockConverter. mapper
private Mapper
ValueRangeConverter. mapper
private Mapper
WeekFieldsConverter. mapper
Constructors in com.thoughtworks.xstream.converters.time with parameters of type Mapper Constructor Description SystemClockConverter(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 Mapper Modifier and Type Field Description private Mapper
TreeMarshaller. mapper
private Mapper
TreeUnmarshaller. mapper
Methods in com.thoughtworks.xstream.core that return Mapper Modifier and Type Method Description protected Mapper
TreeMarshaller. getMapper()
protected Mapper
TreeUnmarshaller. getMapper()
Methods in com.thoughtworks.xstream.core with parameters of type Mapper Modifier and Type Method Description protected 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(java.lang.Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
protected TreeUnmarshaller
ReferenceByIdMarshallingStrategy. createUnmarshallingContext(java.lang.Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
protected TreeUnmarshaller
ReferenceByXPathMarshallingStrategy. createUnmarshallingContext(java.lang.Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
protected TreeUnmarshaller
TreeMarshallingStrategy. createUnmarshallingContext(java.lang.Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
void
AbstractTreeMarshallingStrategy. marshal(HierarchicalStreamWriter writer, java.lang.Object obj, ConverterLookup converterLookup, Mapper mapper, DataHolder dataHolder)
java.lang.Object
AbstractTreeMarshallingStrategy. unmarshal(java.lang.Object root, HierarchicalStreamReader reader, DataHolder dataHolder, ConverterLookup converterLookup, Mapper mapper)
-
Uses of Mapper in com.thoughtworks.xstream.core.util
Methods in com.thoughtworks.xstream.core.util with parameters of type Mapper Modifier and Type Method Description static java.lang.String
HierarchicalStreams. readClassAttribute(HierarchicalStreamReader reader, Mapper mapper)
static java.lang.Class
HierarchicalStreams. readClassType(HierarchicalStreamReader reader, Mapper mapper)
-
Uses of Mapper in com.thoughtworks.xstream.mapper
Classes in com.thoughtworks.xstream.mapper that implement Mapper Modifier and Type Class Description class
AbstractAttributeAliasingMapper
Abstract base class for AttributeAliassingMapper and its system version.class
AbstractXmlFriendlyMapper
Deprecated.As of 1.4 useXmlFriendlyReader
class
AnnotationMapper
A mapper that uses annotations to prepare the remaining mappers in the chain.class
ArrayMapper
Mapper that detects arrays and changes the name so it can identified as an array (for example Foo[] gets serialized as foo-array).class
AttributeAliasingMapper
Mapper that allows aliasing of attribute names.class
AttributeMapper
Mapper that allows the usage of attributes for fields and corresponding types or specified arbitrary types.class
CachingMapper
Mapper that caches which names map to which classes.class
CGLIBMapper
Mapper that detects proxies generated by the CGLIB enhancer.class
ClassAliasingMapper
Mapper that allows a fully qualified class name to be replaced with an alias.class
DefaultImplementationsMapper
Mapper that resolves default implementations of classes.class
DefaultMapper
Default mapper implementation with 'vanilla' functionality.class
DynamicProxyMapper
Mapper for handling special cases of aliasing dynamic proxies.class
ElementIgnoringMapper
Mapper that allows an field of a specific class to be omitted entirely.class
EnumMapper
Mapper that handles the special case of polymorphic enums in Java 1.5.class
FieldAliasingMapper
Mapper that allows a field of a specific class to be replaced with a shorter alias.class
ImmutableTypesMapper
Mapper that specifies which types are basic immutable types.class
ImplicitCollectionMapper
class
LambdaMapper
Mapper to map serializable lambda types to the name of their functional interface and non-serializable ones to Mapper.Null.class
LocalConversionMapper
A Mapper for locally defined converters for a member field.class
MapperWrapper
class
OuterClassMapper
Mapper that uses a more meaningful alias for the field in an inner class (this$0) that refers to the outer class.class
PackageAliasingMapper
Mapper that allows a package name to be replaced with an alias.class
SecurityMapper
A Mapper implementation injecting a security layer based on permission rules for any type required in the unmarshalling process.class
SystemAttributeAliasingMapper
Mapper that allows aliasing of system attribute names.class
XmlFriendlyMapper
Deprecated.As of 1.3 useXmlFriendlyReader
class
XStream11XmlFriendlyMapper
Deprecated.As of 1.4 useXmlFriendlyReader
Methods in com.thoughtworks.xstream.mapper that return Mapper Modifier and Type Method Description Mapper
DefaultMapper. lookupMapperOfType(java.lang.Class type)
Mapper
Mapper. lookupMapperOfType(java.lang.Class type)
Mapper
MapperWrapper. lookupMapperOfType(java.lang.Class type)
Constructors in com.thoughtworks.xstream.mapper with parameters of type Mapper Constructor Description AbstractAttributeAliasingMapper(Mapper wrapped)
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, java.lang.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, java.lang.String alias)
ClassAliasingMapper(Mapper wrapped)
DefaultImplementationsMapper(Mapper wrapped)
DynamicProxyMapper(Mapper wrapped)
DynamicProxyMapper(Mapper wrapped, java.lang.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, java.lang.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 Modifier and Type Method Description protected Mapper
AbstractFilePersistenceStrategy. getMapper()
-