equip.data
Class SerializedObjectImpl
java.lang.Object
equip.runtime.Object
equip.runtime.ValueBase
equip.data.SerializedObject
equip.data.SerializedObjectImpl
- All Implemented Interfaces:
- java.lang.Cloneable
- public class SerializedObjectImpl
- extends SerializedObject
Implementation of IDL'd abstract class SerializedObject
|
Method Summary |
(package private) java.lang.Object |
getJavaValue()
get value using Java deserializationn - internal op.
|
java.lang.Object |
getValue()
get value by deserialization of data.
|
void |
setValue(java.io.Serializable o)
assign value by serialising object.
|
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializedObjectImpl
public SerializedObjectImpl()
SerializedObjectImpl
public SerializedObjectImpl(java.io.Serializable o)
throws java.io.IOException
- convenience constructor - assign value by serialising object
setValue
public void setValue(java.io.Serializable o)
throws java.io.IOException
- assign value by serialising object.
encodes null as no data.
- Throws:
java.io.IOException
getValue
public java.lang.Object getValue()
throws java.io.IOException,
java.lang.ClassNotFoundException
- get value by deserialization of data.
returns null if there is no data.
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
getJavaValue
java.lang.Object getJavaValue()
throws java.io.IOException,
java.lang.ClassNotFoundException
- get value using Java deserializationn - internal op.
pre-requisites: serializationMethod=="java", data!=null,
data.length!=0.
- Throws:
java.io.IOException
java.lang.ClassNotFoundException