|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringCodable
This interface defines methods that are used to allow a non-codable object to become codable. Codable is defined as the ability of an Object to be encoded to an OutputStream or decoded from an InputStream to their original Object value by the coder classes in the com.wm.util.coder package. You must provide a specific format that allows your implemented class to be encoded as a String object and decoded from a String object.
Note: The implementing class' provided format must contain codable objects. For more information on codable objects refer to the coder classes in the com.wm.util.coder package.
XMLCoder
,
Codable
,
IDataCodable
,
IDataXMLCoder
,
StringCodable
,
ValuesCodable
Method Summary | |
---|---|
java.lang.String |
getValue()
Returns a String representation of the current state of the implementing class (encoded in the format defined by the implementing class). |
void |
setValue(java.lang.String val)
Initializes the class variables from the contents of the specified String. |
Method Detail |
---|
java.lang.String getValue()
void setValue(java.lang.String val)
val
- A String that represents the encoded form of the implementing class.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |