|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.xsp.model.AbstractDataContainer
public abstract class AbstractDataContainer
AbstractDataContainer is a base class intended to be extended by developers who are writing new data sources. It provides some basic support to make the data source externalizable.
Constructor Summary | |
---|---|
protected |
AbstractDataContainer()
Default constructor, used for serialization support. |
protected |
AbstractDataContainer(java.lang.String beanId,
java.lang.String id)
Constructor which accepts the id for the data source. |
Method Summary | |
---|---|
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 |
readExternal(java.io.ObjectInput in)
|
protected java.lang.String |
readUTF(java.io.ObjectInput in)
Helper method to write a string |
void |
writeExternal(java.io.ObjectOutput out)
|
protected void |
writeUTF(java.io.ObjectOutput out,
java.lang.String str)
Helper method to read a string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.xsp.model.DataContainer |
---|
deserialize, serialize |
Constructor Detail |
---|
protected AbstractDataContainer(java.lang.String beanId, java.lang.String id)
id
- protected AbstractDataContainer()
Method Detail |
---|
protected java.lang.String readUTF(java.io.ObjectInput in) throws java.io.IOException
java.io.IOException
protected void writeUTF(java.io.ObjectOutput out, java.lang.String str) throws java.io.IOException
java.io.IOException
public java.lang.String getBeanId()
DataContainer
getBeanId
in interface DataContainer
public java.lang.String getId()
DataContainer
getId
in interface DataContainer
public void destroy()
DataContainer
destroy
in interface DataContainer
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |