|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Page.IPageSerializer
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 | |
---|---|
void |
deserializePage(int id,
java.lang.String name,
Page page,
java.io.ObjectInputStream stream)
Called when page is being deserialized |
java.lang.Object |
getPageReplacementObject(Page serializedPage)
Returns object to be serialized instead of given page (called from writeReplace). |
void |
serializePage(Page page,
java.io.ObjectOutputStream stream)
Called from the Component.writeObject(java.io.ObjectOutputStream) method. |
Method Detail |
---|
void 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
void serializePage(Page page, java.io.ObjectOutputStream stream) throws java.io.IOException
Component.writeObject(java.io.ObjectOutputStream)
method.
page
- The page that must be serialized.stream
- ObjectOutputStream
java.io.IOException
java.lang.Object getPageReplacementObject(Page serializedPage)
serializedPage
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |