Class AnnotationReflectionConverter
- java.lang.Object
-
- com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
-
- com.thoughtworks.xstream.converters.reflection.ReflectionConverter
-
- com.thoughtworks.xstream.annotations.AnnotationReflectionConverter
-
- All Implemented Interfaces:
Converter,ConverterMatcher,Caching
@Deprecated public class AnnotationReflectionConverter extends ReflectionConverter
Deprecated.As of 1.3, build intoReflectionConverterReflectionConverter which uses an AnnotationProvider to marshall and unmarshall fields based on the annotated converters.- Author:
- Guilherme Silveira, Mauro Talevi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
AbstractReflectionConverter.DuplicateFieldException, AbstractReflectionConverter.UnknownFieldException
-
-
Field Summary
-
Fields inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
mapper, reflectionProvider, serializationMembers, serializationMethodInvoker
-
-
Constructor Summary
Constructors Constructor Description AnnotationReflectionConverter(Mapper mapper, ReflectionProvider reflectionProvider, AnnotationProvider annotationProvider)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidmarshallField(MarshallingContext context, java.lang.Object newObj, java.lang.reflect.Field field)Deprecated.protected java.lang.ObjectunmarshallField(UnmarshallingContext context, java.lang.Object result, java.lang.Class type, java.lang.reflect.Field field)Deprecated.-
Methods inherited from class com.thoughtworks.xstream.converters.reflection.ReflectionConverter
canConvert
-
Methods inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
canAccess, doMarshal, doUnmarshal, flushCache, instantiateNewInstance, marshal, readResolve, shouldUnmarshalField, shouldUnmarshalTransientFields, unmarshal
-
-
-
-
Constructor Detail
-
AnnotationReflectionConverter
@Deprecated public AnnotationReflectionConverter(Mapper mapper, ReflectionProvider reflectionProvider, AnnotationProvider annotationProvider)
Deprecated.
-
-
Method Detail
-
marshallField
protected void marshallField(MarshallingContext context, java.lang.Object newObj, java.lang.reflect.Field field)
Deprecated.- Overrides:
marshallFieldin classAbstractReflectionConverter
-
unmarshallField
protected java.lang.Object unmarshallField(UnmarshallingContext context, java.lang.Object result, java.lang.Class type, java.lang.reflect.Field field)
Deprecated.- Overrides:
unmarshallFieldin classAbstractReflectionConverter
-
-