public interface IDataCodable
This class is an interface that you can use to convert a non-codable object to codable. Codable is defined as the ability of an Object to be encoded to an OutputStream or decoded from an InputStream to the original Object value, using the coder classes in the com.wm.util.coder package. You must provide a specific format that allows your derived class to be encoded as an IData object and decoded from an IData object.
Note: Your provided format must contain codable objects. For more information about codable objects, refer to the coder classes in the com.wm.util.coder package.
IDataXMLCoder
,
Codable
,
IData
Modifier and Type | Method and Description |
---|---|
IData |
getIData()
Generates an IData object that represents the current state of the implementing class.
|
void |
setIData(IData idata)
Initializes all class variables from the data values in the specified IData object.
|
IData getIData()
void setIData(IData idata)
idata
- An IData object representing the encoded form of the implementing class.