public class SerializedObject extends SerializedObjectBase
classHandlehandle, pool| Constructor and Description |
|---|
SerializedObject(java.io.DataInputStream din,
SerializedEntityPool pool,
SerializedEntityParser parser,
int classHandle)
Constructor.
|
SerializedObject(int classHandle,
java.util.List<SerializedClassValues> fieldSets,
SerializedEntityPool pool)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SerializedClassValues |
getFieldSet(int index)
Returns field sets of given index.
|
int |
getFieldSetCount()
Returns number of field sets.
|
java.lang.Object |
getFieldValue(java.lang.String name)
Return the value object for the field with the given name.
|
protected byte |
getObjectTagConstant()
Returns the tag code for the object type.
|
void |
removeFieldValue(java.lang.String name)
Removes the value object for the field with the given name.
|
protected void |
serializeObjectContent(java.io.DataOutputStream dos,
SerializedEntitySerializer serializer)
Serializes the object's content.
|
void |
setFieldValue(java.lang.String name,
java.lang.Object value)
Sets the value object for the field with the given name.
|
java.lang.String |
toString() |
getClassHandle, getPlainClassHierarchy, serializeContentgetHandle, serializepublic SerializedObject(java.io.DataInputStream din, SerializedEntityPool pool, SerializedEntityParser parser, int classHandle) throws java.io.IOException
java.io.IOExceptionpublic SerializedObject(int classHandle, java.util.List<SerializedClassValues> fieldSets, SerializedEntityPool pool)
protected byte getObjectTagConstant()
getObjectTagConstant in class SerializedObjectBaseprotected void serializeObjectContent(java.io.DataOutputStream dos, SerializedEntitySerializer serializer) throws java.io.IOException
serializeObjectContent in class SerializedObjectBasejava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object getFieldValue(java.lang.String name) throws java.io.IOException
java.io.IOExceptionpublic void setFieldValue(java.lang.String name, java.lang.Object value) throws java.io.IOException
java.io.IOExceptionpublic void removeFieldValue(java.lang.String name) throws java.io.IOException
java.io.IOExceptionpublic int getFieldSetCount()
public SerializedClassValues getFieldSet(int index)