Deprecated API

Deprecated Classes
com.thoughtworks.xstream.converters.basic.AbstractBasicConverter
          Since 1.2 use AbstractSingleValueConverter 
com.thoughtworks.xstream.alias.ClassMapper.Null
          As of 1.2, use Mapper.Null 
com.thoughtworks.xstream.converters.basic.ThreadSafeSimpleDateFormat
          since 1.2.1, moved to com.thoughtworks.xstream.core.util. It is not part of public API, use on your own risk. 
 

Deprecated Interfaces
com.thoughtworks.xstream.alias.ClassMapper
          As of 1.2, use Mapper 
com.thoughtworks.xstream.alias.NameMapper
          As of 1.2 
 

Deprecated Exceptions
com.thoughtworks.xstream.alias.CannotResolveClassException
          As of 1.2, use CannotResolveClassException instead 
 

Deprecated Fields
com.thoughtworks.xstream.XStream.XPATH_REFERENCES
          since 1.2, use XStream.XPATH_RELATIVE_REFERENCES or XStream.XPATH_ABSOLUTE_REFERENCES instead. 
 

Deprecated Methods
com.thoughtworks.xstream.mapper.Mapper.attributeForClassDefiningField()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.DefaultMapper.attributeForClassDefiningField()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.Mapper.attributeForEnumType()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.DefaultMapper.attributeForEnumType()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.Mapper.attributeForImplementationClass()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.DefaultMapper.attributeForImplementationClass()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.Mapper.attributeForReadResolveField()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.DefaultMapper.attributeForReadResolveField()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.alias.NameMapper.fromXML(String)
          As of 1.2 
com.thoughtworks.xstream.XStream.getClassMapper()
          As of 1.2, use XStream.getMapper() 
com.thoughtworks.xstream.io.path.PathTracker.getCurrentPath()
          Use PathTracker.getPath() instead. 
com.thoughtworks.xstream.io.xml.JDomWriter.getResult()
          since 1.2.1, use AbstractDocumentWriter.getTopLevelNodes() instead 
com.thoughtworks.xstream.MarshallingStrategy.marshal(HierarchicalStreamWriter, Object, DefaultConverterLookup, ClassMapper, DataHolder)
          As of 1.2, use MarshallingStrategy.marshal(HierarchicalStreamWriter, Object, ConverterLookup, Mapper, DataHolder) 
com.thoughtworks.xstream.io.xml.AbstractDocumentReader.peekUnderlyingNode()
          As of 1.2, use AbstractDocumentReader.getCurrent() 
com.thoughtworks.xstream.io.json.JsonHierarchicalStreamWriter.startNode(String)
          Use startNode(String name, Class clazz) instead. 
com.thoughtworks.xstream.alias.NameMapper.toXML(String)
          As of 1.2 
com.thoughtworks.xstream.MarshallingStrategy.unmarshal(Object, HierarchicalStreamReader, DataHolder, DefaultConverterLookup, ClassMapper)
          As of 1.2, use MarshallingStrategy.unmarshal(Object, HierarchicalStreamReader, DataHolder, ConverterLookup, Mapper) 
 

Deprecated Constructors
com.thoughtworks.xstream.mapper.ArrayMapper(ClassMapper)
          As of 1.2, use ArrayMapper.ArrayMapper(Mapper) 
com.thoughtworks.xstream.mapper.CachingMapper(ClassMapper)
          As of 1.2, use CachingMapper.CachingMapper(Mapper) 
com.thoughtworks.xstream.alias.CannotResolveClassException(String)
          As of 1.2 
com.thoughtworks.xstream.mapper.ClassAliasingMapper(ClassMapper)
          As of 1.2, use ClassAliasingMapper.ClassAliasingMapper(Mapper) 
com.thoughtworks.xstream.mapper.DefaultImplementationsMapper(ClassMapper)
          As of 1.2, use DefaultImplementationsMapper.DefaultImplementationsMapper(Mapper) 
com.thoughtworks.xstream.mapper.DefaultMapper(ClassLoader, String)
          since 1.2, use XStream.aliasAttrbute() for a different attribute name. 
com.thoughtworks.xstream.mapper.DynamicProxyMapper(ClassMapper)
          As of 1.2, use DynamicProxyMapper.DynamicProxyMapper(Mapper) 
com.thoughtworks.xstream.mapper.DynamicProxyMapper(ClassMapper, String)
          As of 1.2, use DynamicProxyMapper.DynamicProxyMapper(Mapper, String) 
com.thoughtworks.xstream.mapper.EnumMapper(ClassMapper)
          As of 1.2, use EnumMapper.EnumMapper(Mapper) 
com.thoughtworks.xstream.mapper.FieldAliasingMapper(ClassMapper)
          As of 1.2, use FieldAliasingMapper.FieldAliasingMapper(Mapper) 
com.thoughtworks.xstream.mapper.ImmutableTypesMapper(ClassMapper)
          As of 1.2, use ImmutableTypesMapper.ImmutableTypesMapper(Mapper) 
com.thoughtworks.xstream.mapper.ImplicitCollectionMapper(ClassMapper)
          As of 1.2, use ImplicitCollectionMapper.ImplicitCollectionMapper(Mapper) 
com.thoughtworks.xstream.converters.javabean.JavaBeanConverter(ClassMapper, String)
          As of 1.2, use JavaBeanConverter.JavaBeanConverter(Mapper, String) 
com.thoughtworks.xstream.converters.extended.JavaClassConverter()
          As of 1.1.1 - use other constructor and explicitly supply a ClassLoader. 
com.thoughtworks.xstream.converters.extended.JavaMethodConverter()
          As of 1.2 - use other constructor and explicitly supply a ClassLoader. 
com.thoughtworks.xstream.mapper.MapperWrapper(ClassMapper)
          As of 1.2, use MapperWrapper.MapperWrapper(Mapper) 
com.thoughtworks.xstream.mapper.OuterClassMapper(ClassMapper)
          As of 1.2, use OuterClassMapper.OuterClassMapper(Mapper) 
com.thoughtworks.xstream.mapper.OuterClassMapper(ClassMapper, String)
          As of 1.2, use OuterClassMapper.OuterClassMapper(Mapper, String) 
com.thoughtworks.xstream.io.xml.StaxDriver(QNameMap, boolean)
          since 1.2, use an explicit call to StaxDriver.setRepairingNamespace(boolean) 
com.thoughtworks.xstream.mapper.XmlFriendlyMapper(ClassMapper)
          As of 1.2, use XmlFriendlyMapper.XmlFriendlyMapper(Mapper) 
com.thoughtworks.xstream.XStream(ReflectionProvider, ClassMapper, HierarchicalStreamDriver)
          As of 1.2, use XStream.XStream(ReflectionProvider, Mapper, HierarchicalStreamDriver) 
com.thoughtworks.xstream.XStream(ReflectionProvider, ClassMapper, HierarchicalStreamDriver, String)
          As of 1.2, use XStream.XStream(ReflectionProvider, Mapper, HierarchicalStreamDriver) and register classAttributeIdentifier as alias 
 



Joe Walnes, http://xstream.codehaus.org/