|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
You can set implementation of the interface in the Page.serializer then that
implementation will handle the serialization of this page. The serializePage method is called
from the writeObject method then the implementation override the default serialization.
| Method Summary | |
Page |
deserializePage(int id,
java.lang.String name,
Page page,
java.io.ObjectInputStream stream)
Called when page is being deserialized |
void |
serializePage(Page page,
java.io.ObjectOutputStream stream)
Called from the Page#writeObject(java.io.ObjectOutputStream) method. |
| Method Detail |
public Page deserializePage(int id,
java.lang.String name,
Page page,
java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
id - TODOname - TODOpage - stream -
java.io.IOException
java.lang.ClassNotFoundException
public void serializePage(Page page,
java.io.ObjectOutputStream stream)
throws java.io.IOException
Page#writeObject(java.io.ObjectOutputStream) method.
page - The page that must be serialized.stream - ObjectOutputStream
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||