com.pnfsoftware.jeb.util.serialization.annotations.SerCustomRead |
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.
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |