|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SerializableAware
An extra interface implemented by an interpreter (Interpreter
)
if it supports serialization.
Interpreter
Nested Class Summary | |
---|---|
static interface |
SerializableAware.Filter
The filter used with write(java.io.ObjectOutputStream, org.zkoss.zk.scripting.SerializableAware.Filter) . |
Method Summary | |
---|---|
void |
read(java.io.ObjectInputStream s)
Reads the name and value of the variable from the specified input stream. |
void |
write(java.io.ObjectOutputStream s,
SerializableAware.Filter filter)
Writes the name and value of the variables of this namespace to the specified stream. |
Method Detail |
---|
void write(java.io.ObjectOutputStream s, SerializableAware.Filter filter) throws java.io.IOException
If the variable's value is not serializable, it won't be written.
To read back, use read(java.io.ObjectInputStream)
.
java.io.IOException
void read(java.io.ObjectInputStream s) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
write(java.io.ObjectOutputStream, org.zkoss.zk.scripting.SerializableAware.Filter)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |