public abstract @interface


implements Annotation

Class Overview

This annotation is used to customize the serialization process of an object. It is executed when an object is about to be serialized. The implementation may:

  • update the object state, including SerId fields
  • call saveStandard() (mandatory)
  • optionally, update the object before returning

Required prototype:

 private void save(SerializerHelper writer) [throws IOException]
Note that the visibility MUST be private to make sure that sub-classes do not accidentally override a custom writer method of a super-class.


Inherited Methods
From interface java.lang.annotation.Annotation