|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.orb.rmi.DeserializationKernelIBM14
public class DeserializationKernelIBM14
This is an implementation of the interface DeserializationKernel for the IBM JDKs 1.4.x.
Method Summary | |
---|---|
java.lang.Object |
allocateNewObject(java.lang.Class c,
java.lang.Class base)
This class allocates an instance of a class. |
void |
setBooleanField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
boolean v)
Set the member field of a class instance. |
void |
setByteField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
byte v)
Set the member field of a class instance. |
void |
setCharField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
char v)
Set the member field of a class instance. |
void |
setDoubleField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
double v)
Set the member field of a class instance. |
void |
setFloatField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
float v)
Set the member field of a class instance. |
void |
setIntField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
int v)
Set the member field of a class instance. |
void |
setLongField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
long v)
Set the member field of a class instance. |
void |
setObjectField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
java.lang.Object v)
Set the member field of a class instance. |
void |
setShortField(java.lang.Class c,
java.lang.String n,
java.lang.Object o,
short v)
Set the member field of a class instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.Object allocateNewObject(java.lang.Class c, java.lang.Class base) throws java.lang.InstantiationException, java.lang.IllegalAccessException
DeserializationKernel
allocateNewObject
in interface DeserializationKernel
c
- The class to allocate memory for.base
- The enclosing class when c is a non-static inner class.
java.lang.InstantiationException
- When the object can be instantiated.
java.lang.IllegalAccessException
- When the object can't be accessed.DeserializationKernel
public void setObjectField(java.lang.Class c, java.lang.String n, java.lang.Object o, java.lang.Object v)
DeserializationKernel
setObjectField
in interface DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.DeserializationKernel
public void setBooleanField(java.lang.Class c, java.lang.String n, java.lang.Object o, boolean v)
DeserializationKernel
setBooleanField
in interface DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.DeserializationKernel
public void setByteField(java.lang.Class c, java.lang.String n, java.lang.Object o, byte v)
DeserializationKernel
setByteField
in interface DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.DeserializationKernel
public void setCharField(java.lang.Class c, java.lang.String n, java.lang.Object o, char v)
DeserializationKernel
setCharField
in interface DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.DeserializationKernel
public void setShortField(java.lang.Class c, java.lang.String n, java.lang.Object o, short v)
DeserializationKernel
setShortField
in interface DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.DeserializationKernel
public void setIntField(java.lang.Class c, java.lang.String n, java.lang.Object o, int v)
DeserializationKernel
setIntField
in interface DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.DeserializationKernel
public void setLongField(java.lang.Class c, java.lang.String n, java.lang.Object o, long v)
DeserializationKernel
setLongField
in interface DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.DeserializationKernel
public void setFloatField(java.lang.Class c, java.lang.String n, java.lang.Object o, float v)
DeserializationKernel
setFloatField
in interface DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.DeserializationKernel
public void setDoubleField(java.lang.Class c, java.lang.String n, java.lang.Object o, double v)
DeserializationKernel
setDoubleField
in interface DeserializationKernel
c
- The type of the class.n
- The name of the member field.o
- The instance of the class c.v
- The value to assign to the field n on instance o.DeserializationKernel
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |