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.
ReflectionConverter 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 AbstractReflectionConverter
AbstractReflectionConverter.DuplicateFieldException, AbstractReflectionConverter.UnknownFieldException -
Field Summary
Fields inherited from class AbstractReflectionConverter
mapper, reflectionProvider, serializationMembers, serializationMethodInvoker -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationReflectionConverter(Mapper mapper, ReflectionProvider reflectionProvider, AnnotationProvider annotationProvider) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidmarshallField(MarshallingContext context, Object newObj, Field field) Deprecated.protected ObjectunmarshallField(UnmarshallingContext context, Object result, Class type, Field field) Deprecated.Methods inherited from class ReflectionConverter
canConvertMethods inherited from class AbstractReflectionConverter
canAccess, doMarshal, doUnmarshal, flushCache, instantiateNewInstance, marshal, readResolve, shouldUnmarshalField, shouldUnmarshalTransientFields, unmarshal
-
Constructor Details
-
AnnotationReflectionConverter
@Deprecated public AnnotationReflectionConverter(Mapper mapper, ReflectionProvider reflectionProvider, AnnotationProvider annotationProvider) Deprecated.
-
-
Method Details
-
marshallField
Deprecated.- Overrides:
marshallFieldin classAbstractReflectionConverter
-
unmarshallField
protected Object unmarshallField(UnmarshallingContext context, Object result, Class type, Field field) Deprecated.- Overrides:
unmarshallFieldin classAbstractReflectionConverter
-
ReflectionConverter