Class SerializableConverter

java.lang.Object
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
com.thoughtworks.xstream.converters.reflection.SerializableConverter
All Implemented Interfaces:
Converter, ConverterMatcher, Caching
Direct Known Subclasses:
CGLIBEnhancedConverter, LambdaConverter

public class SerializableConverter extends AbstractReflectionConverter
Emulates the mechanism used by standard Java Serialization for classes that implement java.io.Serializable AND implement or inherit a custom readObject()/writeObject() method.

Supported features of serialization

  • readObject(), writeObject()
  • class inheritance
  • readResolve(), writeReplace()
  • getFields(), putFields(), writeFields(), readFields()
  • ObjectStreamField[] serialPersistentFields
  • ObjectInputValidation