|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.lang.Object[] |
getDeserializedObjects()
Returns the context of objects being deserialized. |
int |
getDeserializedObjectsCount()
Returns size of stack of deserialized objects. |
java.lang.Object |
popDeserializedObject()
Removes one deserialized object from the stack and returns it. |
void |
pushDeserializedObject(java.lang.Object contextObject)
Adds the object being serialized so that the inner deserializers know in which context they are deserializing (for example, an interface might be instantiated into two different implementations in two different contexts). |
Method Detail |
public void pushDeserializedObject(java.lang.Object contextObject)
contextObject
- the contextpublic java.lang.Object[] getDeserializedObjects()
For performance reasons, the array being returned is the internal, shared array of object stack. This has some implications:
public int getDeserializedObjectsCount()
public java.lang.Object popDeserializedObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |