Package org.zkoss.zk.scripting
Interface SerializableAware
- All Known Implementing Classes:
BSHInterpreter
public interface SerializableAware
An extra interface implemented by an interpreter (
Interpreter)
if it supports serialization.- Author:
- tomyeh
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe filter used withwrite(java.io.ObjectOutputStream, org.zkoss.zk.scripting.SerializableAware.Filter). -
Method Summary
Modifier and TypeMethodDescriptionvoidReads the name and value of the variable from the specified input stream.voidwrite(ObjectOutputStream s, SerializableAware.Filter filter) Writes the name and value of the variables of this namespace to the specified stream.
-
Method Details
-
write
Writes the name and value of the variables of this namespace to the specified stream.If the variable's value is not serializable, it won't be written.
To read back, use
read(java.io.ObjectInputStream).- Throws:
IOException
-
read
Reads the name and value of the variable from the specified input stream.
-