Deprecated API


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

Deprecated Classes
com.thoughtworks.xstream.converters.basic.AbstractBasicConverter
          Since 1.2 use AbstractSingleValueConverter 
com.thoughtworks.xstream.alias.ClassMapper.Null
          As of 1.2, use ClassMapper.Null 
 

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

Deprecated Fields
com.thoughtworks.xstream.core.TreeMarshaller.classMapper
          As of 1.2, use TreeMarshaller.mapper 
com.thoughtworks.xstream.XStream.XPATH_REFERENCES
          since 1.2, use 1003 or 1004 instead. 
 

Deprecated Methods
com.thoughtworks.xstream.mapper.DefaultMapper.attributeForClassDefiningField()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.Mapper.attributeForClassDefiningField()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.DefaultMapper.attributeForEnumType()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.Mapper.attributeForEnumType()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.DefaultMapper.attributeForImplementationClass()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.Mapper.attributeForImplementationClass()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.DefaultMapper.attributeForReadResolveField()
          since 1.2, use aliasForAttribute instead. 
com.thoughtworks.xstream.mapper.Mapper.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.core.ReferenceByIdMarshallingStrategy.marshal(HierarchicalStreamWriter, Object, DefaultConverterLookup, ClassMapper, DataHolder)
          As of 1.2, use ReferenceByIdMarshallingStrategy.marshal(HierarchicalStreamWriter, Object, ConverterLookup, Mapper, DataHolder) 
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.marshal(HierarchicalStreamWriter, Object, DefaultConverterLookup, ClassMapper, DataHolder)
          As of 1.2, use ReferenceByXPathMarshallingStrategy.marshal(HierarchicalStreamWriter, Object, ConverterLookup, Mapper, DataHolder) 
com.thoughtworks.xstream.core.TreeMarshallingStrategy.marshal(HierarchicalStreamWriter, Object, DefaultConverterLookup, ClassMapper, DataHolder)
          As of 1.2, use TreeMarshallingStrategy.marshal(HierarchicalStreamWriter, Object, ConverterLookup, Mapper, DataHolder) 
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.core.ReferenceByIdMarshallingStrategy.unmarshal(Object, HierarchicalStreamReader, DataHolder, DefaultConverterLookup, ClassMapper)
          As of 1.2, use #unmarshal(Object, HierarchicalStreamReader, DataHolder, DefaultConverterLookup, Mapper) 
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(Object, HierarchicalStreamReader, DataHolder, DefaultConverterLookup, ClassMapper)
          As of 1.2, use #unmarshal(Object, HierarchicalStreamReader, DataHolder, DefaultConverterLookup, Mapper) 
com.thoughtworks.xstream.core.TreeMarshallingStrategy.unmarshal(Object, HierarchicalStreamReader, DataHolder, DefaultConverterLookup, ClassMapper)
          As of 1.2, use #unmarshal(Object, HierarchicalStreamReader, DataHolder, DefaultConverterLookup, Mapper) 
com.thoughtworks.xstream.MarshallingStrategy.unmarshal(Object, HierarchicalStreamReader, DataHolder, DefaultConverterLookup, ClassMapper)
          As of 1.2, use #unmarshal(Object, HierarchicalStreamReader, DataHolder, DefaultConverterLookup, 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.core.DefaultConverterLookup(ClassMapper)
          As of 1.2, use DefaultConverterLookup.DefaultConverterLookup(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.core.ReferenceByIdMarshaller(HierarchicalStreamWriter, ConverterLookup, ClassMapper)
          As of 1.2, use ReferenceByIdMarshaller.ReferenceByIdMarshaller(HierarchicalStreamWriter, ConverterLookup, Mapper) 
com.thoughtworks.xstream.core.ReferenceByIdMarshaller(HierarchicalStreamWriter, ConverterLookup, ClassMapper, ReferenceByIdMarshaller.IDGenerator)
          As of 1.2, use ReferenceByIdMarshaller.ReferenceByIdMarshaller(HierarchicalStreamWriter, ConverterLookup, Mapper, IDGenerator) 
com.thoughtworks.xstream.core.ReferenceByIdUnmarshaller(Object, HierarchicalStreamReader, ConverterLookup, ClassMapper)
          As of 1.2, use ReferenceByIdUnmarshaller.ReferenceByIdUnmarshaller(Object, HierarchicalStreamReader, ConverterLookup, Mapper) 
com.thoughtworks.xstream.core.ReferenceByXPathMarshaller(HierarchicalStreamWriter, ConverterLookup, ClassMapper)
          As of 1.2, use ReferenceByXPathMarshaller.ReferenceByXPathMarshaller(HierarchicalStreamWriter, ConverterLookup, Mapper, int) 
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy()
          As of 1.2, use ReferenceByXPathMarshallingStrategy.ReferenceByXPathMarshallingStrategy(int) 
com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller(Object, HierarchicalStreamReader, ConverterLookup, ClassMapper)
          As of 1.2, use ReferenceByXPathUnmarshaller.ReferenceByXPathUnmarshaller(Object, HierarchicalStreamReader, ConverterLookup, Mapper) 
com.thoughtworks.xstream.io.xml.StaxDriver(QNameMap, boolean)
          since 1.2, use an explicit call to StaxDriver.setRepairingNamespace(boolean) 
com.thoughtworks.xstream.core.TreeMarshaller(HierarchicalStreamWriter, ConverterLookup, ClassMapper)
          As of 1.2, use TreeMarshaller.TreeMarshaller(HierarchicalStreamWriter, ConverterLookup, Mapper) 
com.thoughtworks.xstream.core.TreeUnmarshaller(Object, HierarchicalStreamReader, ConverterLookup, ClassMapper)
          As of 1.2, use TreeUnmarshaller.TreeUnmarshaller(Object, HierarchicalStreamReader, ConverterLookup, Mapper) 
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 
 



Copyright © 2006 null. All Rights Reserved.