public abstract class SerializedClassBase extends SerializedEntityBase
Modifier and Type | Field and Description |
---|---|
protected int |
superClassHandle
Handle to the super class (or null handle).
|
handle, pool
Modifier | Constructor and Description |
---|---|
protected |
SerializedClassBase(java.io.DataInputStream din,
SerializedEntityPool pool,
SerializedEntityParser parser)
Constructor for parsing.
|
protected |
SerializedClassBase(SerializedEntityPool pool)
Direct constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getSuperClassHandle()
Returns the handle of the super class.
|
protected abstract void |
parseClass(java.io.DataInputStream din,
SerializedEntityPool pool,
SerializedEntityParser parser)
Parses the class content.
|
protected abstract void |
serializeClass(java.io.DataOutputStream dos,
SerializedEntitySerializer serializer)
Serializes the class part of this entity.
|
protected void |
serializeContent(java.io.DataOutputStream dos,
SerializedEntitySerializer serializer)
Serializes the content of the entity (no reference) on an output stream.
|
getHandle, serialize
protected int superClassHandle
protected SerializedClassBase(java.io.DataInputStream din, SerializedEntityPool pool, SerializedEntityParser parser) throws java.io.IOException
java.io.IOException
protected SerializedClassBase(SerializedEntityPool pool)
protected abstract void parseClass(java.io.DataInputStream din, SerializedEntityPool pool, SerializedEntityParser parser) throws java.io.IOException
java.io.IOException
protected final void serializeContent(java.io.DataOutputStream dos, SerializedEntitySerializer serializer) throws java.io.IOException
serializeContent
in class SerializedEntityBase
java.io.IOException
protected abstract void serializeClass(java.io.DataOutputStream dos, SerializedEntitySerializer serializer) throws java.io.IOException
java.io.IOException
public int getSuperClassHandle()