public abstract @interface

SerCustomRead

implements Annotation
com.pnfsoftware.jeb.util.serialization.annotations.SerCustomRead

Class Overview

This annotation is used for custom deserialization. The SerId annotations are disregarded, as the custom reader is responsible for restoring the object state. Accepted prototype:

 private void load(DeserializerHelper reader) [throws IOException, SerialiationException]
 

Note that the visibility MUST be private to make sure that sub-classes do not accidentally override a custom reader method of a super-class.

Also note that SerCustomRead and SerCustomInit are not mutually exclusive; an object may decide to use both. SerCustomInit is called after SerCustomRead.

Summary

[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation