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.mapper | |
com.thoughtworks.xstream.persistence |
Modifier and Type | Method and Description |
---|---|
Mapper |
XStream.getMapper()
Retrieve the
Mapper . |
Modifier and Type | Method and Description |
---|---|
void |
MarshallingStrategy.marshal(HierarchicalStreamWriter writer,
Object obj,
ConverterLookup converterLookup,
Mapper mapper,
DataHolder dataHolder) |
Object |
MarshallingStrategy.unmarshal(Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
ConverterLookup converterLookup,
Mapper mapper) |
Constructor and Description |
---|
AnnotationReflectionConverter(Mapper mapper,
ReflectionProvider reflectionProvider,
AnnotationProvider annotationProvider)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Mapper |
AbstractCollectionConverter.mapper() |
Constructor and Description |
---|
AbstractCollectionConverter(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) |
Constructor and Description |
---|
EnumMapConverter(Mapper mapper) |
EnumSetConverter(Mapper mapper) |
Constructor and Description |
---|
DynamicProxyConverter(Mapper mapper)
Deprecated.
|
DynamicProxyConverter(Mapper mapper,
ClassLoader classLoader)
Deprecated.
|
DynamicProxyConverter(Mapper mapper,
ClassLoaderReference classLoaderReference)
Construct a DynamicProxyConverter.
|
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(Class arrayType,
Mapper mapper,
String itemName)
Construct a NamedArrayConverter.
|
NamedCollectionConverter(Class type,
Mapper mapper,
String itemName,
Class itemType)
Constructs a NamedCollectionConverter handling an explicit Collection type.
|
NamedCollectionConverter(Mapper mapper,
String itemName,
Class itemType)
Constructs a NamedCollectionConverter.
|
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.
|
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.
|
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.
|
Modifier and Type | Field and Description |
---|---|
protected Mapper |
JavaBeanConverter.mapper |
Constructor and Description |
---|
JavaBeanConverter(Mapper mapper) |
JavaBeanConverter(Mapper mapper,
Class type) |
JavaBeanConverter(Mapper mapper,
JavaBeanProvider beanProvider) |
JavaBeanConverter(Mapper mapper,
JavaBeanProvider beanProvider,
Class type) |
JavaBeanConverter(Mapper mapper,
String classAttributeIdentifier)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected Mapper |
AbstractReflectionConverter.mapper |
Constructor and Description |
---|
AbstractReflectionConverter(Mapper mapper,
ReflectionProvider reflectionProvider) |
CGLIBEnhancedConverter(Mapper mapper,
ReflectionProvider reflectionProvider)
Deprecated.
|
CGLIBEnhancedConverter(Mapper mapper,
ReflectionProvider reflectionProvider,
ClassLoader classLoader)
Deprecated.
|
CGLIBEnhancedConverter(Mapper mapper,
ReflectionProvider reflectionProvider,
ClassLoaderReference classLoaderReference)
Construct a CGLIBEnhancedConverter.
|
ExternalizableConverter(Mapper mapper)
Deprecated.
|
ExternalizableConverter(Mapper mapper,
ClassLoader classLoader)
Deprecated.
|
ExternalizableConverter(Mapper mapper,
ClassLoaderReference classLoaderReference)
Construct an ExternalizableConverter.
|
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,
ClassLoader classLoader)
Deprecated.
|
SerializableConverter(Mapper mapper,
ReflectionProvider reflectionProvider,
ClassLoaderReference classLoaderReference)
Construct a SerializableConverter.
|
Constructor and Description |
---|
SystemClockConverter(Mapper mapper)
Constructs a SystemClockConverter instance.
|
ValueRangeConverter(Mapper mapper)
Constructs a ValueRangeConverter instance.
|
WeekFieldsConverter(Mapper mapper)
Constructs a WeekFieldsConverter instance.
|
Modifier and Type | Method and Description |
---|---|
protected Mapper |
TreeUnmarshaller.getMapper() |
protected Mapper |
TreeMarshaller.getMapper() |
Modifier and Type | Method and Description |
---|---|
protected abstract TreeMarshaller |
AbstractTreeMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeMarshaller |
TreeMarshallingStrategy.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 abstract TreeUnmarshaller |
AbstractTreeMarshallingStrategy.createUnmarshallingContext(Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeUnmarshaller |
TreeMarshallingStrategy.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) |
void |
AbstractTreeMarshallingStrategy.marshal(HierarchicalStreamWriter writer,
Object obj,
ConverterLookup converterLookup,
Mapper mapper,
DataHolder dataHolder) |
Object |
AbstractTreeMarshallingStrategy.unmarshal(Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
ConverterLookup converterLookup,
Mapper mapper) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAttributeAliasingMapper
Abstract base class for AttributeAliassingMapper and its system version.
|
class |
AbstractXmlFriendlyMapper
Deprecated.
As of 1.4 use
XmlFriendlyReader |
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 use
XmlFriendlyReader |
class |
XStream11XmlFriendlyMapper
Deprecated.
As of 1.4 use
XmlFriendlyReader |
Modifier and Type | Method and Description |
---|---|
Mapper |
MapperWrapper.lookupMapperOfType(Class type) |
Mapper |
DefaultMapper.lookupMapperOfType(Class type) |
Mapper |
Mapper.lookupMapperOfType(Class type) |
Modifier and Type | Method and Description |
---|---|
protected Mapper |
AbstractFilePersistenceStrategy.getMapper() |
Copyright © 2004–2017 XStream. All rights reserved.