Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Interfaces
  • Classes
  • Exceptions
  • Annotation Interfaces
  • Fields
  • Methods
  • Constructors
  • Deprecated Interfaces
    Interface
    Description
    com.thoughtworks.xstream.converters.javabean.BeanProvider.Visitor
    As of 1.4 use JavaBeanProvider.Visitor
    com.thoughtworks.xstream.io.ExtendedHierarchicalStreamReader
    As of 1.4.11, this interface will be merged into parent with version 1.5.0.
    com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriter
    As of 1.4.11, this interface will be merged into parent with version 1.5.0.
    com.thoughtworks.xstream.io.xml.XmlFriendlyReader
    As of 1.4
    com.thoughtworks.xstream.io.xml.XmlFriendlyWriter
    As of 1.4
    com.thoughtworks.xstream.mapper.AnnotationConfiguration
    As of 1.4.5, minimal JDK version will be 1.7 for next major release
    com.thoughtworks.xstream.persistence.StreamStrategy
    As of 1.3.1, use PersistenceStrategy instead
    com.thoughtworks.xstream.tools.benchmark.Metric
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.Product
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.Reporter
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.Target
    As of 1.4.9 use JMH instead
  • Deprecated Classes
    Class
    Description
    com.thoughtworks.xstream.annotations.AnnotationProvider
    As of 1.3
    com.thoughtworks.xstream.annotations.AnnotationReflectionConverter
    As of 1.3, build into ReflectionConverter
    com.thoughtworks.xstream.annotations.Annotations
    As of 1.3, use XStream.processAnnotations(Class[])
    com.thoughtworks.xstream.converters.extended.StackTraceElementFactory
    As of 1.4.8, it is an internal helper class
    com.thoughtworks.xstream.converters.javabean.BeanProperty
    As of 1.3.1, no longer in use
    com.thoughtworks.xstream.converters.reflection.SelfStreamingInstanceChecker
    As of 1.4.5 use SelfStreamingInstanceChecker
    com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker
    As of 1.4.8, moved into internal util package.
    com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider
    As of 1.4.7 use SunUnsafeReflectionProvider
    com.thoughtworks.xstream.core.util.ClassLoaderReference
    As of 1.4.5 use ClassLoaderReference instead
    com.thoughtworks.xstream.core.util.OrderRetainingMap
    As of 1.4.8 use LinkedHashMap
    com.thoughtworks.xstream.io.AttributeNameIterator
    As of 1.4.8, it is an internal helper class only
    com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriterHelper
    As of 1.4.11, this helper is no longer required since version 1.5.0.
    com.thoughtworks.xstream.io.json.JsonHierarchicalStreamWriter
    As of 1.3.1, use JsonWriter instead
    com.thoughtworks.xstream.io.xml.AbstractXmlDriver
    As of 1.4
    com.thoughtworks.xstream.io.xml.AbstractXmlReader
    As of 1.4, use AbstractReader instead.
    com.thoughtworks.xstream.io.xml.AbstractXmlWriter
    As of 1.4 use AbstractWriter instead
    com.thoughtworks.xstream.io.xml.SjsxpDriver
    As of 1.4.5 use StandardStaxDriver
    com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer
    As of 1.4, use XmlFriendlyNameCoder instead
    com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom
    As of 1.4, use XppDom instead
    com.thoughtworks.xstream.io.xml.xppdom.Xpp3DomBuilder
    As of 1.4, use XppDom.build(XmlPullParser) instead
    com.thoughtworks.xstream.io.xml.XStream11XmlFriendlyReplacer
    As of 1.4, use XStream11NameCoder instead
    com.thoughtworks.xstream.mapper.AbstractXmlFriendlyMapper
    As of 1.4 use XmlFriendlyReader
    com.thoughtworks.xstream.mapper.XmlFriendlyMapper
    As of 1.3 use XmlFriendlyReader
    com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper
    As of 1.4 use XmlFriendlyReader
    com.thoughtworks.xstream.persistence.FileStreamStrategy
    As of 1.3.1, use FilePersistenceStrategy
    com.thoughtworks.xstream.tools.benchmark.Harness
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.metrics.CharacterCountMetric
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.metrics.DeserializationSpeedMetric
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.metrics.SerializationSpeedMetric
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.metrics.SizeMetric
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.model.A100Fields
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.model.A100Parents
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.model.A50InnerClasses
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.model.A50StaticInnerClasses
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.model.Five
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.model.FiveBean
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.model.One
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.model.OneBean
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.model.SerializableFive
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.model.SerializableOne
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.JavaObjectSerialization
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamBinary
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamCompact
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamDom
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamDom4J
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamDriver
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamJDom
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamKXml2
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamKXml2DOM
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamSjsxp
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamStax
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamWoodstox
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamXom
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamXpp
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamXpp3
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.products.XStreamXpp3DOM
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.reporters.HtmlReporter
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.reporters.MultiReporter
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.targets.BasicTarget
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.targets.ExtendedTarget
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.targets.JavaBeanTarget
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.targets.JTreeTarget
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.targets.ListTarget
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.targets.Person
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.targets.ReflectionTarget
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.targets.SerializableTarget
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.targets.StringTarget
    As of 1.4.9 use JMH instead
    com.thoughtworks.xstream.tools.benchmark.targets.UserDefinedClassTarget
    As of 1.4.9 use JMH instead
  • Deprecated Exceptions
    Exceptions
    Description
    com.thoughtworks.xstream.converters.javabean.JavaBeanConverter.DuplicateFieldException
    As of 1.3
    com.thoughtworks.xstream.core.BaseException
    As of 1.3, use XStreamException instead
    com.thoughtworks.xstream.XStream.InitializationException
    As of 1.3, use InitializationException instead
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    com.thoughtworks.xstream.annotations.XStreamContainedType
    As of 1.3, recursive behaviour is now always used and the annotation is therefore superfluous
    com.thoughtworks.xstream.annotations.XStreamImplicitCollection
    As of 1.3, use @XStreamImplicit at field level
  • Deprecated Fields
    Field
    Description
    com.thoughtworks.xstream.converters.javabean.BeanProvider.NO_PARAMS
    As of 1.4.6
    com.thoughtworks.xstream.converters.javabean.JavaBeanConverter.classAttributeIdentifier
    As of 1.3, no necessity for field anymore.
    com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.serializationMethodInvoker
    As of 1.4.8, use AbstractReflectionConverter.serializationMembers.
  • Deprecated Methods
    Method
    Description
    com.thoughtworks.xstream.annotations.AnnotationProvider.getAnnotation(Field, Class<T>)
    As of 1.3
    com.thoughtworks.xstream.annotations.Annotations.configureAliases(XStream, Class<?>...)
    As of 1.3, use XStream.processAnnotations(Class[])
    com.thoughtworks.xstream.converters.basic.BooleanConverter.shouldConvert(Class, Object)
    As of 1.4.8 use BooleanConverter.canConvert(Class)
    com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(HierarchicalStreamReader, UnmarshallingContext, Object)
    As of 1.4.11 use AbstractCollectionConverter.readBareItem(HierarchicalStreamReader, UnmarshallingContext, Object) or AbstractCollectionConverter.readCompleteItem(HierarchicalStreamReader, UnmarshallingContext, Object) instead.
    com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(Object, MarshallingContext, HierarchicalStreamWriter)
    As of 1.4.11 use AbstractCollectionConverter.writeCompleteItem(Object, MarshallingContext, HierarchicalStreamWriter) instead.
    com.thoughtworks.xstream.converters.extended.NamedCollectionConverter.writeItem(Object, MarshallingContext, HierarchicalStreamWriter)
    As of 1.4.11 use NamedCollectionConverter.writeCompleteItem(Object, MarshallingContext, HierarchicalStreamWriter) instead.
    com.thoughtworks.xstream.converters.extended.UseAttributeForEnumMapper.isEnum(Class)
    only used for Java 1.4 support
    com.thoughtworks.xstream.converters.javabean.BeanProvider.getDefaultConstrutor(Class)
    As of 1.4.6 use BeanProvider.newInstance(Class) or BeanProvider.canInstantiate(Class) directly.
    com.thoughtworks.xstream.converters.javabean.PropertyDictionary.property(Class, String)
    As of 1.3.1, use PropertyDictionary.propertyDescriptor(Class, String) instead
    com.thoughtworks.xstream.converters.javabean.PropertyDictionary.serializablePropertiesFor(Class)
    As of 1.3.1, use PropertyDictionary.propertiesFor(Class) instead
    com.thoughtworks.xstream.converters.reflection.FieldDictionary.serializableFieldsFor(Class)
    As of 1.3, use FieldDictionary.fieldsFor(Class) instead
    com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.fieldDefinedInClass(String, Class)
    As of 1.4.5, use PureJavaReflectionProvider.getFieldOrNull(Class, String) instead
    com.thoughtworks.xstream.converters.reflection.ReflectionProvider.fieldDefinedInClass(String, Class)
    As of 1.4.5, use ReflectionProvider.getFieldOrNull(Class, String) instead
    com.thoughtworks.xstream.converters.reflection.ReflectionProviderWrapper.fieldDefinedInClass(String, Class)
    As of 1.4.5, use ReflectionProviderWrapper.getFieldOrNull(Class, String) instead
    com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadObject(Class, Object, ObjectInputStream)
    As of 1.4.8, moved into internal util package.
    com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadResolve(Object)
    As of 1.4.8, moved into internal util package.
    com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(Class, Object, ObjectOutputStream)
    As of 1.4.8, moved into internal util package.
    com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteReplace(Object)
    As of 1.4.8, moved into internal util package.
    com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.flushCache()
    As of 1.4.8, moved into internal util package.
    com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.supportsReadObject(Class, boolean)
    As of 1.4.8, moved into internal util package.
    com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.supportsWriteObject(Class, boolean)
    As of 1.4.8, moved into internal util package.
    com.thoughtworks.xstream.core.JVM.bestReflectionProvider()
    As of 1.4.5 use JVM.newReflectionProvider()
    com.thoughtworks.xstream.core.JVM.flushCache()
    As of 1.4.5 no functionality
    com.thoughtworks.xstream.core.JVM.is14()
    As of 1.4.4, minimal JDK version is 1.4 already
    com.thoughtworks.xstream.core.JVM.is15()
    As of 1.4.4, minimal JDK version will be 1.7 for next major release
    com.thoughtworks.xstream.core.JVM.is16()
    As of 1.4.4, minimal JDK version will be 1.7 for next major release
    com.thoughtworks.xstream.core.JVM.is17()
    As of 1.4.10, minimal JDK version will be 1.7 for next major release
    com.thoughtworks.xstream.core.JVM.is18()
    As of 1.4.11 use JVM.isVersion(int).
    com.thoughtworks.xstream.core.JVM.is19()
    As of 1.4.10 use JVM.isVersion(int).
    com.thoughtworks.xstream.core.JVM.is9()
    As of 1.4.11 use JVM.isVersion(int)
    com.thoughtworks.xstream.core.JVM.loadClass(String)
    As of 1.4.5 use JVM.loadClassForName(String)
    com.thoughtworks.xstream.core.JVM.loadClass(String, boolean)
    As of 1.4.5 use JVM.loadClassForName(String, boolean)
    com.thoughtworks.xstream.core.JVM.reverseFieldDefinition()
    As of 1.4.5
    com.thoughtworks.xstream.core.JVM.supportsAWT()
    As of 1.4.5 use JVM.isAWTAvailable()
    com.thoughtworks.xstream.core.JVM.supportsSQL()
    As of 1.4.5 use JVM.isSQLAvailable()
    com.thoughtworks.xstream.core.JVM.supportsSwing()
    As of 1.4.5 use JVM.isSwingAvailable()
    com.thoughtworks.xstream.core.ReferencingMarshallingContext.currentPath()
    As of 1.4.2
    com.thoughtworks.xstream.core.util.ClassLoaderReference.getReference()
    As of 1.4.5 use ClassLoaderReference.getReference() instead
    com.thoughtworks.xstream.core.util.ClassLoaderReference.loadClass(String)
    As of 1.4.5 use ClassLoaderReference.getReference() .loadClass(String) instead
    com.thoughtworks.xstream.core.util.ClassLoaderReference.setReference(ClassLoader)
    As of 1.4.5 use ClassLoaderReference.setReference(ClassLoader) instead
    com.thoughtworks.xstream.core.util.CustomObjectInputStream.getInstance(DataHolder, CustomObjectInputStream.StreamCallback)
    As of 1.4 use CustomObjectInputStream.getInstance(DataHolder, StreamCallback, ClassLoader)
    com.thoughtworks.xstream.core.util.CustomObjectInputStream.getInstance(DataHolder, CustomObjectInputStream.StreamCallback, ClassLoader)
    As of 1.4.5 use CustomObjectInputStream.getInstance(DataHolder, StreamCallback, ClassLoaderReference)
    com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriterHelper.startNode(HierarchicalStreamWriter, String, Class)
    As of 1.4.11, with version 1.5.0 use HierarchicalStreamWriter#startNode(String, Class) directly. This helper will be no longer required.
    com.thoughtworks.xstream.io.xml.AbstractXmlDriver.xmlFriendlyReplacer()
    As of 1.4
    com.thoughtworks.xstream.io.xml.AbstractXmlReader.escapeXmlName(String)
    As of 1.4, use AbstractReader instead.
    com.thoughtworks.xstream.io.xml.AbstractXmlReader.unescapeXmlName(String)
    As of 1.4, use AbstractReader.decodeNode(String) or AbstractReader.decodeAttribute(String) instead.
    com.thoughtworks.xstream.io.xml.AbstractXmlWriter.escapeXmlName(String)
    As of 1.4 use AbstractWriter.encodeNode(String) or AbstractWriter.encodeAttribute(String) instead
    com.thoughtworks.xstream.io.xml.SjsxpDriver.createInputFactory()
    As of 1.4.5 use StandardStaxDriver.createInputFactory()
    com.thoughtworks.xstream.io.xml.SjsxpDriver.createOutputFactory()
    As of 1.4.5 use StandardStaxDriver.createOutputFactory()
    com.thoughtworks.xstream.io.xml.XmlFriendlyReader.unescapeXmlName(String)
    As of 1.4
    com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer.escapeName(String)
    As of 1.4, use XmlFriendlyNameCoder instead
    com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer.unescapeName(String)
    As of 1.4, use XmlFriendlyNameCoder instead
    com.thoughtworks.xstream.io.xml.XmlFriendlyWriter.escapeXmlName(String)
    As of 1.4
    com.thoughtworks.xstream.io.xml.XomDriver.getBuilder()
    As of 1.4.9, overload XomDriver.createBuilder() instead
    com.thoughtworks.xstream.io.xml.xppdom.Xpp3DomBuilder.build(Reader)
    As of 1.4, use XppDom.build(XmlPullParser) instead
    com.thoughtworks.xstream.io.xml.XppReader.createParser()
    As of 1.4, use XppReader(Reader, XmlPullParser) instead
    com.thoughtworks.xstream.mapper.AnnotationMapper.processImplicitCollectionAnnotation(Class<?>)
    com.thoughtworks.xstream.mapper.AttributeMapper.getConverterFromAttribute(Class, String)
    As of 1.3.1, use AttributeMapper.getConverterFromAttribute(Class, String, Class)
    com.thoughtworks.xstream.mapper.AttributeMapper.getConverterFromAttribute(String)
    As of 1.3, use AttributeMapper.getConverterFromAttribute(Class, String, Class)
    com.thoughtworks.xstream.mapper.AttributeMapper.getConverterFromItemType(Class)
    As of 1.3, use AttributeMapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.mapper.AttributeMapper.getConverterFromItemType(String, Class)
    As of 1.3, use AttributeMapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.mapper.AttributeMapper.setConverterLookup(ConverterLookup)
    As of 1.3
    com.thoughtworks.xstream.mapper.ClassAliasingMapper.addClassAttributeAlias(String, Class)
    As of 1.3, method was a leftover of an old implementation
    com.thoughtworks.xstream.mapper.ClassAliasingMapper.aliasIsAttribute(String)
    As of 1.4.9
    com.thoughtworks.xstream.mapper.ClassAliasingMapper.itemTypeAsAttribute(Class)
    As of 1.4.9
    com.thoughtworks.xstream.mapper.DefaultMapper.aliasForAttribute(Class, String)
    As of 1.3, use combination of DefaultMapper.serializedMember(Class, String) and DefaultMapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.mapper.DefaultMapper.attributeForAlias(Class, String)
    As of 1.3, use combination of DefaultMapper.realMember(Class, String) and DefaultMapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.mapper.DefaultMapper.getConverterFromAttribute(Class, String)
    As of 1.3.1, use DefaultMapper.getConverterFromAttribute(Class, String, Class)
    com.thoughtworks.xstream.mapper.DefaultMapper.getConverterFromAttribute(String)
    As of 1.3, use DefaultMapper.getConverterFromAttribute(Class, String, Class)
    com.thoughtworks.xstream.mapper.DefaultMapper.getConverterFromItemType(Class)
    As of 1.3, use DefaultMapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.mapper.DefaultMapper.getConverterFromItemType(String, Class)
    As of 1.3, use DefaultMapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.mapper.FieldAliasingMapper.addFieldsToIgnore(Pattern)
    As of 1.4.9 use ElementIgnoringMapper.addElementsToIgnore(Pattern).
    com.thoughtworks.xstream.mapper.FieldAliasingMapper.omitField(Class, String)
    As of 1.4.9 use ElementIgnoringMapper.omitField(Class, String).
    com.thoughtworks.xstream.mapper.ImmutableTypesMapper.addImmutableType(Class)
    As of 1.4.9 use ImmutableTypesMapper.addImmutableType(Class, boolean)
    com.thoughtworks.xstream.mapper.Mapper.aliasForAttribute(Class, String)
    As of 1.3, use combination of Mapper.serializedMember(Class, String) and Mapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.mapper.Mapper.attributeForAlias(Class, String)
    As of 1.3, use combination of Mapper.realMember(Class, String) and Mapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.mapper.Mapper.getConverterFromAttribute(Class, String)
    As of 1.3.1, use Mapper.getConverterFromAttribute(Class, String, Class)
    com.thoughtworks.xstream.mapper.Mapper.getConverterFromAttribute(String)
    As of 1.3, use Mapper.getConverterFromAttribute(Class, String, Class)
    com.thoughtworks.xstream.mapper.Mapper.getConverterFromItemType(Class)
    As of 1.3, use Mapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.mapper.Mapper.getConverterFromItemType(String, Class)
    As of 1.3, use Mapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.mapper.MapperWrapper.aliasForAttribute(Class, String)
    As of 1.3, use combination of MapperWrapper.serializedMember(Class, String) and MapperWrapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.mapper.MapperWrapper.attributeForAlias(Class, String)
    As of 1.3, use combination of MapperWrapper.realMember(Class, String) and MapperWrapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(Class, String)
    As of 1.3.1, use MapperWrapper.getConverterFromAttribute(Class, String, Class)
    com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(String)
    As of 1.3, use MapperWrapper.getConverterFromAttribute(Class, String, Class)
    com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromItemType(Class)
    As of 1.3, use MapperWrapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromItemType(String, Class)
    As of 1.3, use MapperWrapper.getConverterFromItemType(String, Class, Class)
    com.thoughtworks.xstream.tools.benchmark.Metric.run(Product, Object)
    since 1.3
    com.thoughtworks.xstream.tools.benchmark.metrics.CharacterCountMetric.run(Product, Object)
    since 1.3
    com.thoughtworks.xstream.tools.benchmark.metrics.DeserializationSpeedMetric.run(Product, Object)
    since 1.3
    com.thoughtworks.xstream.tools.benchmark.metrics.SerializationSpeedMetric.run(Product, Object)
    since 1.3
    com.thoughtworks.xstream.tools.benchmark.metrics.SizeMetric.run(Product, Object)
    since 1.3
    com.thoughtworks.xstream.XStream.addImmutableType(Class)
    As of 1.4.9 use XStream.addImmutableType(Class, boolean)
    com.thoughtworks.xstream.XStream.setupDefaultSecurity(XStream)
    As of 1.4.18
    com.thoughtworks.xstream.XStream.useXStream11XmlFriendlyMapper()
    As of 1.4.8
  • Deprecated Constructors
    Constructor
    Description
    com.thoughtworks.xstream.annotations.AnnotationReflectionConverter(Mapper, ReflectionProvider, AnnotationProvider)
    com.thoughtworks.xstream.converters.extended.DynamicProxyConverter(Mapper)
    As of 1.4.5 use DynamicProxyConverter(Mapper, ClassLoaderReference)
    com.thoughtworks.xstream.converters.extended.DynamicProxyConverter(Mapper, ClassLoader)
    As of 1.4.5 use DynamicProxyConverter(Mapper, ClassLoaderReference)
    com.thoughtworks.xstream.converters.extended.FontConverter()
    As of 1.4.5
    com.thoughtworks.xstream.converters.extended.JavaClassConverter(ClassLoader)
    As of 1.4.5 use JavaClassConverter(ClassLoaderReference)
    com.thoughtworks.xstream.converters.extended.JavaFieldConverter(ClassLoader)
    As of 1.4.5 use JavaFieldConverter(ClassLoaderReference)
    com.thoughtworks.xstream.converters.extended.JavaMethodConverter(ClassLoader)
    As of 1.4.5 use JavaMethodConverter(ClassLoaderReference)
    com.thoughtworks.xstream.converters.extended.RegexPatternConverter(Converter)
    As of 1.4.5, use RegexPatternConverter() instead
    com.thoughtworks.xstream.converters.extended.ThrowableConverter(Converter)
    As of 1.4.5 use ThrowableConverter(ConverterLookup)
    com.thoughtworks.xstream.converters.javabean.JavaBeanConverter(Mapper, String)
    As of 1.3, use JavaBeanConverter(Mapper) and XStream.aliasAttribute(String, String)
    com.thoughtworks.xstream.converters.reflection.CGLIBEnhancedConverter(Mapper, ReflectionProvider)
    As of 1.4 use CGLIBEnhancedConverter(Mapper, ReflectionProvider, ClassLoaderReference)
    com.thoughtworks.xstream.converters.reflection.CGLIBEnhancedConverter(Mapper, ReflectionProvider, ClassLoader)
    As of 1.4.5 use CGLIBEnhancedConverter(Mapper, ReflectionProvider, ClassLoaderReference)
    com.thoughtworks.xstream.converters.reflection.ExternalizableConverter(Mapper)
    As of 1.4 use ExternalizableConverter(Mapper, ClassLoader)
    com.thoughtworks.xstream.converters.reflection.ExternalizableConverter(Mapper, ClassLoader)
    As of 1.4.5 use ExternalizableConverter(Mapper, ClassLoaderReference)
    com.thoughtworks.xstream.converters.reflection.SerializableConverter(Mapper, ReflectionProvider)
    As of 1.4 use SerializableConverter(Mapper, ReflectionProvider, ClassLoaderReference)
    com.thoughtworks.xstream.converters.reflection.SerializableConverter(Mapper, ReflectionProvider, ClassLoader)
    As of 1.4.5 use SerializableConverter(Mapper, ReflectionProvider, ClassLoaderReference)
    com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider()
    As of 1.4.7 use SunUnsafeReflectionProvider()
    com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider(FieldDictionary)
    As of 1.4.7 use SunUnsafeReflectionProvider(FieldDictionary)
    com.thoughtworks.xstream.core.DefaultConverterLookup(Mapper)
    As of 1.3, use DefaultConverterLookup()
    com.thoughtworks.xstream.core.JVM()
    As of 1.4.5 use the static methods of JVM.
    com.thoughtworks.xstream.core.util.ClassLoaderReference(ClassLoader)
    As of 1.4.5 use ClassLoaderReference(ClassLoader) instead
    com.thoughtworks.xstream.core.util.CustomObjectInputStream(CustomObjectInputStream.StreamCallback, ClassLoader)
    As of 1.4.5 use CustomObjectInputStream(StreamCallback, ClassLoaderReference)
    com.thoughtworks.xstream.core.util.SelfStreamingInstanceChecker(Converter, Object)
    As of 1.4.5 use SelfStreamingInstanceChecker(ConverterLookup, Object)
    com.thoughtworks.xstream.io.json.JettisonStaxWriter(QNameMap, XMLStreamWriter, boolean, boolean, XmlFriendlyReplacer, MappedNamespaceConvention)
    As of 1.4 use JettisonStaxWriter(QNameMap, XMLStreamWriter, boolean, boolean, NameCoder, MappedNamespaceConvention) instead
    com.thoughtworks.xstream.io.json.JsonHierarchicalStreamWriter(Writer)
    As of 1.3.1, use JsonWriter instead
    com.thoughtworks.xstream.io.json.JsonHierarchicalStreamWriter(Writer, char[])
    As of 1.3.1, use JsonWriter instead
    com.thoughtworks.xstream.io.json.JsonHierarchicalStreamWriter(Writer, char[], String)
    As of 1.3.1, use JsonWriter instead
    com.thoughtworks.xstream.io.json.JsonHierarchicalStreamWriter(Writer, String)
    As of 1.3.1, use JsonWriter instead
    com.thoughtworks.xstream.io.json.JsonHierarchicalStreamWriter(Writer, String, String)
    As of 1.3.1, use JsonWriter instead
    com.thoughtworks.xstream.io.json.JsonWriter(Writer, char[])
    As of 1.4 use instead
    com.thoughtworks.xstream.io.json.JsonWriter(Writer, char[], String)
    As of 1.4 use instead
    com.thoughtworks.xstream.io.json.JsonWriter(Writer, char[], String, int)
    As of 1.4 use instead
    com.thoughtworks.xstream.io.json.JsonWriter(Writer, String)
    As of 1.4 use instead
    com.thoughtworks.xstream.io.json.JsonWriter(Writer, String, String)
    As of 1.4 use instead
    com.thoughtworks.xstream.io.xml.AbstractDocumentReader(Object, XmlFriendlyReplacer)
    As of 1.4, use AbstractDocumentReader(Object, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.AbstractDocumentWriter(Object, XmlFriendlyReplacer)
    As of 1.4 use AbstractDocumentWriter(Object, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.AbstractPullReader(XmlFriendlyReplacer)
    As of 1.4 use AbstractPullReader(NameCoder) instead
    com.thoughtworks.xstream.io.xml.AbstractXmlDriver()
    As of 1.4
    com.thoughtworks.xstream.io.xml.AbstractXmlDriver(XmlFriendlyReplacer)
    As of 1.4
    com.thoughtworks.xstream.io.xml.AbstractXmlReader(XmlFriendlyReplacer)
    As of 1.4, use AbstractReader instead.
    com.thoughtworks.xstream.io.xml.AbstractXmlWriter(XmlFriendlyReplacer)
    As of 1.4
    com.thoughtworks.xstream.io.xml.CompactWriter(Writer, int, XmlFriendlyReplacer)
    As of 1.4 use CompactWriter(Writer, int, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.CompactWriter(Writer, XmlFriendlyReplacer)
    As of 1.4 use CompactWriter(Writer, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.Dom4JDriver(DocumentFactory, OutputFormat, XmlFriendlyReplacer)
    As of 1.4, use Dom4JDriver(DocumentFactory, OutputFormat, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.Dom4JReader(Document, XmlFriendlyReplacer)
    As of 1.4, use Dom4JReader(Document, NameCoder) instead
    com.thoughtworks.xstream.io.xml.Dom4JReader(Element, XmlFriendlyReplacer)
    As of 1.4, use Dom4JReader(Element, NameCoder) instead
    com.thoughtworks.xstream.io.xml.Dom4JWriter(Branch, XmlFriendlyReplacer)
    As of 1.4 use Dom4JWriter(Branch, NameCoder) instead
    com.thoughtworks.xstream.io.xml.Dom4JWriter(Branch, DocumentFactory, XmlFriendlyReplacer)
    As of 1.4 use Dom4JWriter(Branch, DocumentFactory, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.Dom4JWriter(DocumentFactory, XmlFriendlyReplacer)
    As of 1.4 use Dom4JWriter(DocumentFactory, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.Dom4JXmlWriter(XMLWriter, XmlFriendlyReplacer)
    As of 1.4 use Dom4JXmlWriter(XMLWriter, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.DomDriver(String, XmlFriendlyReplacer)
    As of 1.4, use DomDriver(String, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.DomReader(Document, XmlFriendlyReplacer)
    As of 1.4, use DomReader(Document, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.DomReader(Element, XmlFriendlyReplacer)
    As of 1.4, use DomReader(Element, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.DomWriter(Document, XmlFriendlyReplacer)
    As of 1.4 use DomWriter(Document, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.DomWriter(Element, XmlFriendlyReplacer)
    As of 1.4 use DomWriter(Element, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.DomWriter(Element, Document, XmlFriendlyReplacer)
    As of 1.4 use DomWriter(Element, Document, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.JDomDriver(XmlFriendlyReplacer)
    As of 1.4, use JDomDriver(NameCoder) instead.
    com.thoughtworks.xstream.io.xml.JDomReader(Document, XmlFriendlyReplacer)
    As of 1.4, use JDomReader(Document, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.JDomReader(Element, XmlFriendlyReplacer)
    As of 1.4, use JDomReader(Element, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.JDomWriter(Element, XmlFriendlyReplacer)
    As of 1.4 use JDomWriter(Element, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.JDomWriter(Element, JDOMFactory, XmlFriendlyReplacer)
    As of 1.4 use JDomWriter(Element, JDOMFactory, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.JDomWriter(JDOMFactory, XmlFriendlyReplacer)
    As of 1.4 use JDomWriter(JDOMFactory, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.PrettyPrintWriter(Writer, char[], String)
    As of 1.3
    com.thoughtworks.xstream.io.xml.PrettyPrintWriter(Writer, char[], String, XmlFriendlyReplacer)
    As of 1.3
    com.thoughtworks.xstream.io.xml.PrettyPrintWriter(Writer, int, char[], XmlFriendlyReplacer)
    As of 1.4 use PrettyPrintWriter(Writer, int, char[], NameCoder) instead
    com.thoughtworks.xstream.io.xml.PrettyPrintWriter(Writer, int, XmlFriendlyReplacer)
    As of 1.4 use PrettyPrintWriter(Writer, int, NameCoder) instead
    com.thoughtworks.xstream.io.xml.PrettyPrintWriter(Writer, XmlFriendlyReplacer)
    As of 1.4 use PrettyPrintWriter(Writer, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.PrettyPrintWriter(Writer, String, String)
    As of 1.3
    com.thoughtworks.xstream.io.xml.SaxWriter(boolean, XmlFriendlyReplacer)
    As of 1.4 use SaxWriter(boolean, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.SaxWriter(XmlFriendlyReplacer)
    As of 1.4 use SaxWriter(NameCoder) instead.
    com.thoughtworks.xstream.io.xml.SjsxpDriver()
    As of 1.4.5 use StandardStaxDriver()
    com.thoughtworks.xstream.io.xml.SjsxpDriver(QNameMap)
    As of 1.4.5 use StandardStaxDriver(QNameMap)
    com.thoughtworks.xstream.io.xml.SjsxpDriver(QNameMap, XmlFriendlyNameCoder)
    As of 1.4.5 use StandardStaxDriver(QNameMap, XmlFriendlyNameCoder)
    com.thoughtworks.xstream.io.xml.SjsxpDriver(XmlFriendlyNameCoder)
    As of 1.4.5 use StandardStaxDriver(XmlFriendlyNameCoder)
    com.thoughtworks.xstream.io.xml.StandardStaxDriver(QNameMap, XmlFriendlyNameCoder)
    As of 1.4.6 use StandardStaxDriver(QNameMap, NameCoder)
    com.thoughtworks.xstream.io.xml.StandardStaxDriver(XmlFriendlyNameCoder)
    As of 1.4.6 use StandardStaxDriver(NameCoder)
    com.thoughtworks.xstream.io.xml.StaxDriver(QNameMap, XmlFriendlyReplacer)
    As of 1.4, use StaxDriver(QNameMap, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.StaxDriver(XmlFriendlyReplacer)
    As of 1.4, use StaxDriver(NameCoder) instead.
    com.thoughtworks.xstream.io.xml.StaxReader(QNameMap, XMLStreamReader, XmlFriendlyReplacer)
    As of 1.4 use StaxReader(QNameMap, XMLStreamReader, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.StaxWriter(QNameMap, XMLStreamWriter, boolean, boolean, XmlFriendlyReplacer)
    As of 1.4 use StaxWriter(QNameMap, XMLStreamWriter, boolean, boolean, NameCoder) instead
    com.thoughtworks.xstream.io.xml.WstxDriver(QNameMap, XmlFriendlyNameCoder)
    As of 1.4.6 use WstxDriver(QNameMap, NameCoder)
    com.thoughtworks.xstream.io.xml.WstxDriver(XmlFriendlyNameCoder)
    As of 1.4.6 use WstxDriver(NameCoder)
    com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer()
    As of 1.4, use XmlFriendlyNameCoder instead
    com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer(String, String)
    As of 1.4, use XmlFriendlyNameCoder instead
    com.thoughtworks.xstream.io.xml.XomDriver(XmlFriendlyReplacer)
    As of 1.4, use XomDriver(NameCoder) instead
    com.thoughtworks.xstream.io.xml.XomDriver(Builder)
    As of 1.4.9, use XomDriver() and overload XomDriver.createBuilder() instead
    com.thoughtworks.xstream.io.xml.XomDriver(Builder, NameCoder)
    As of 1.4.9, use XomDriver(NameCoder) and overload XomDriver.createBuilder() instead
    com.thoughtworks.xstream.io.xml.XomDriver(Builder, XmlFriendlyReplacer)
    As of 1.4, use XomDriver(NameCoder) and overload XomDriver.createBuilder() instead
    com.thoughtworks.xstream.io.xml.XomReader(Document, XmlFriendlyReplacer)
    As of 1.4 use XomReader(Element, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.XomReader(Element, XmlFriendlyReplacer)
    As of 1.4 use XomReader(Element, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.XomWriter(Element, XmlFriendlyReplacer)
    As of 1.4 use XomWriter(Element, NameCoder) instead
    com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom(String)
    As of 1.4, use XppDom instead
    com.thoughtworks.xstream.io.xml.XppDomDriver(XmlFriendlyReplacer)
    As of 1.4, use XppDomDriver(NameCoder) instead.
    com.thoughtworks.xstream.io.xml.XppDomReader(XppDom, XmlFriendlyReplacer)
    As of 1.4 use XppDomReader(XppDom, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.XppDomWriter(XmlFriendlyReplacer)
    As of 1.4 use XppDomWriter(NameCoder) instead
    com.thoughtworks.xstream.io.xml.XppDomWriter(XppDom, XmlFriendlyReplacer)
    As of 1.4 use XppDomWriter(XppDom, NameCoder) instead.
    com.thoughtworks.xstream.io.xml.XppDriver(XmlFriendlyReplacer)
    As of 1.4, use XppDriver(NameCoder) instead.
    com.thoughtworks.xstream.io.xml.XppReader(Reader)
    As of 1.4, use XppReader(Reader, XmlPullParser) instead
    com.thoughtworks.xstream.io.xml.XppReader(Reader, XmlFriendlyReplacer)
    As of 1.4, use XppReader(Reader, XmlPullParser, NameCoder) instead
    com.thoughtworks.xstream.io.xml.XStream11XmlFriendlyReplacer()
    As of 1.4, use XStream11NameCoder instead
    com.thoughtworks.xstream.mapper.AnnotationMapper(Mapper, ConverterRegistry, ConverterLookup, ClassLoader, ReflectionProvider, JVM)
    As of 1.4.5 use AnnotationMapper(Mapper, ConverterRegistry, ConverterLookup, ClassLoaderReference, ReflectionProvider)
    com.thoughtworks.xstream.mapper.AttributeMapper(Mapper)
    As of 1.3
    com.thoughtworks.xstream.mapper.DefaultMapper(ClassLoader)
    As of 1.4.5 use DefaultMapper(ClassLoaderReference)
    com.thoughtworks.xstream.mapper.EnumMapper(Mapper, ConverterLookup)
    As of 1.3.1, use EnumMapper(Mapper)
    com.thoughtworks.xstream.mapper.XmlFriendlyMapper(Mapper)
    As of 1.3 use XmlFriendlyReader
    com.thoughtworks.xstream.tools.benchmark.metrics.DeserializationSpeedMetric(int)
    since 1.3, use DeserializationSpeedMetric(int, boolean)
    com.thoughtworks.xstream.XStream(ReflectionProvider, HierarchicalStreamDriver, ClassLoader)
    As of 1.4.5 use XStream(ReflectionProvider, HierarchicalStreamDriver, ClassLoaderReference)
    com.thoughtworks.xstream.XStream(ReflectionProvider, HierarchicalStreamDriver, ClassLoader, Mapper)
    As of 1.4.5 use XStream(ReflectionProvider, HierarchicalStreamDriver, ClassLoaderReference, Mapper)
    com.thoughtworks.xstream.XStream(ReflectionProvider, HierarchicalStreamDriver, ClassLoader, Mapper, ConverterLookup, ConverterRegistry)
    As of 1.4.5 use XStream(ReflectionProvider, HierarchicalStreamDriver, ClassLoaderReference, Mapper, ConverterLookup, ConverterRegistry)
    com.thoughtworks.xstream.XStream(ReflectionProvider, Mapper, HierarchicalStreamDriver)
    As of 1.3, use XStream(ReflectionProvider, HierarchicalStreamDriver, ClassLoader, Mapper) instead
    com.thoughtworks.xstream.XStream.InitializationException(String)
    As of 1.3, use InitializationException(String) instead
    com.thoughtworks.xstream.XStream.InitializationException(String, Throwable)
    As of 1.3, use InitializationException(String, Throwable) instead