|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface of the custom deserializers for each class.
Method Summary | |
void |
deserialize(java.lang.Object obj,
java.nio.ByteBuffer buffer,
DeserializationContext context)
Reads the state of the object from the buffer. |
java.lang.Object |
instantiate(java.nio.ByteBuffer buffer,
DeserializationContext context)
Returns a new object, possibly reading instantiation information from the buffer. |
Method Detail |
public java.lang.Object instantiate(java.nio.ByteBuffer buffer, DeserializationContext context)
buffer
- The buffer that may contain instantiation information.context
- The DeserializationContext that is reading the buffer. The context can
interpret references to previously read objects that might be members of the object being read.
public void deserialize(java.lang.Object obj, java.nio.ByteBuffer buffer, DeserializationContext context)
obj
- The object for which the state is being read.buffer
- The buffer that contains the state of the object.context
- The DeserializationContext that is reading the buffer. The context can
interpret references to previously read objects that might be members of the object being read.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |