public abstract class SerializedObjectBase extends SerializedEntityBase
Modifier and Type | Field and Description |
---|---|
protected int |
classHandle
The handle of the class this object instantiates.
|
handle, pool
Modifier | Constructor and Description |
---|---|
protected |
SerializedObjectBase(SerializedEntityPool pool,
int classHandle)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getClassHandle()
Returns the handle of the class for this object.
|
protected abstract byte |
getObjectTagConstant()
Returns the tag code for the object type.
|
java.util.List<SerializedClass> |
getPlainClassHierarchy()
Returns the class hierarchy from most super class (nearest to
Object ) to sub class including only plain classes (no proxies). |
protected void |
serializeContent(java.io.DataOutputStream dos,
SerializedEntitySerializer serializer)
Serializes the content of the entity (no reference) on an output stream.
|
protected abstract void |
serializeObjectContent(java.io.DataOutputStream dos,
SerializedEntitySerializer serializer)
Serializes the object's content.
|
getHandle, serialize
protected final int classHandle
protected SerializedObjectBase(SerializedEntityPool pool, int classHandle)
public java.util.List<SerializedClass> getPlainClassHierarchy() throws java.io.IOException
Object
) to sub class including only plain classes (no proxies).java.io.IOException
public int getClassHandle()
protected void serializeContent(java.io.DataOutputStream dos, SerializedEntitySerializer serializer) throws java.io.IOException
serializeContent
in class SerializedEntityBase
java.io.IOException
protected abstract byte getObjectTagConstant()
protected abstract void serializeObjectContent(java.io.DataOutputStream dos, SerializedEntitySerializer serializer) throws java.io.IOException
java.io.IOException