Note
this class pays no attention to whether users have marked any property variables as transient. In fact, it will work most efficiently if users mark ALL variables as transient... to define transient properties for this class, use the constructor which allows a user-specified set of transients.
| Access | Constructor and Description |
|---|---|
| public | SerializableExtension(Set<E>
a set of Strings, the names of all properties that should be considered transient and not serialized transientProperties, Map<K, V> an optional Map of a subset of the transient property names to non-default initialization
expressions, which should be unterminated expressions, and which will be used verbatim in
the generated code. transientPropertyInitializers)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Collection | |
| public Collection | |
| public Collection | |
| public void | generate(ClassInfo info, Class<T> superclassType, Property[] props, Class<T>[] propTypes, IndentedWriter iw)
Implements com.
Deprecated
as a consequence of
IndentedWriter being deprecated.
|
| protected void | generateExtraSerInitializers(ClassInfo info, Class<T> superclassType, Property[] props, Class<T>[] propTypes, IndentedWriter iw)
Deprecated
as a consequence of
IndentedWriter being deprecated.
|
| protected void | generateExtraSerWriteStatements(ClassInfo info, Class<T> superclassType, Property[] props, Class<T>[] propTypes, IndentedWriter iw)
Deprecated
as a consequence of
IndentedWriter being deprecated.
|
| protected void | writeStoreObject(Property prop, Class<T> propType, IndentedWriter iw)
Deprecated
as a consequence of
IndentedWriter being deprecated.
|
| protected void | writeUnstoreObject(Property prop, Class<T> propType, IndentedWriter iw)
Deprecated
as a consequence of
IndentedWriter being deprecated.
|
| transientProperties | back to summary |
|---|---|
| pack-priv Set<E> transientProperties | |
| transientPropertyInitializers | back to summary |
|---|---|
| pack-priv Map<K, V> transientPropertyInitializers | |
| SerializableExtension | back to summary |
|---|---|
public SerializableExtension(Set<E> transientProperties, Map<K, V> transientPropertyInitializers)
| |
| SerializableExtension | back to summary |
|---|---|
| public SerializableExtension() | |
| extraGeneralImports | back to summary |
|---|---|
| public Collection Implements com. | |
| extraInterfaceNames | back to summary |
|---|---|
| public Collection Implements com. | |
| extraSpecificImports | back to summary |
|---|---|
| public Collection Implements com. | |
| generate | back to summary |
|---|---|
| public void generate(ClassInfo info, Class<T> superclassType, Property[] props, Class<T>[] propTypes, IndentedWriter iw) throws IOException Implements com. Deprecated as a consequence of | |
| generateExtraSerInitializers | back to summary |
|---|---|
| protected void generateExtraSerInitializers(ClassInfo info, Class<T> superclassType, Property[] props, Class<T>[] propTypes, IndentedWriter iw) throws IOException
Deprecated as a consequence of | |
| generateExtraSerWriteStatements | back to summary |
|---|---|
| protected void generateExtraSerWriteStatements(ClassInfo info, Class<T> superclassType, Property[] props, Class<T>[] propTypes, IndentedWriter iw) throws IOException
Deprecated as a consequence of | |
| writeStoreObject | back to summary |
|---|---|
| protected void writeStoreObject(Property prop, Class<T> propType, IndentedWriter iw) throws IOException
Deprecated as a consequence of | |
| writeUnstoreObject | back to summary |
|---|---|
| protected void writeUnstoreObject(Property prop, Class<T> propType, IndentedWriter iw) throws IOException
Deprecated as a consequence of | |