Class ExternalizableWrapper

java.lang.Object
org.javarosa.core.util.externalizable.ExternalizableWrapper
All Implemented Interfaces:
Externalizable
Direct Known Subclasses:
ExtWrapBase, ExtWrapIntEncoding, ExtWrapList, ExtWrapListPoly, ExtWrapMap, ExtWrapMapPoly, ExtWrapNullable, ExtWrapTagged

public abstract class ExternalizableWrapper
extends Object
implements Externalizable
constructor guidelines: each child of this class should follow these rules with its constructors 1) every constructor that sets 'val' should have a matching constructor for deserialization that leaves 'val' null 2) every constructor that accepts an ExternalizableWrapper should also have a convenience constructor that accepts a Class, and wraps the Class in an ExtWrapBase (the identity wrapper) 3) there must exist a null constructor for meta-deserialization (for applicable wrappers) 4) be careful about properly disambiguating constructors