com.ibm.xsp.model
Interface DataContainer

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
DocumentDataContainer, ViewDataContainer
All Known Implementing Classes:
AbstractDataContainer

public interface DataContainer
extends java.io.Serializable


Method Summary
 void deserialize(java.io.ObjectInput in)
          The data container implements the deserialize method to restore its data objects.
 void destroy()
          Called when the data container is going out of scope
 java.lang.String getBeanId()
          The id used to retrieve the data container in the scope.
 java.lang.String getId()
          Return the unique id for this data container
 void serialize(java.io.ObjectOutput out)
          The data container implements the serialize method to save its data objects.
 

Method Detail

getBeanId

java.lang.String getBeanId()
The id used to retrieve the data container in the scope.


getId

java.lang.String getId()
Return the unique id for this data container

Returns:

destroy

void destroy()
Called when the data container is going out of scope


serialize

void serialize(java.io.ObjectOutput out)
               throws java.io.IOException
The data container implements the serialize method to save its data objects.

Parameters:
out - the stream to write the data container to
Throws:
java.io.IOException - Includes any I/O exceptions that may occur

deserialize

void deserialize(java.io.ObjectInput in)
                 throws java.io.IOException
The data container implements the deserialize method to restore its data objects.

Parameters:
in - the stream to read data from in order to restore the data container
Throws:
java.io.IOException - if I/O errors occur