|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Storable
This is the root interface for all immutable objects that must be stored in e.g. a file
or a database. Classes that implement this interface must provide a
constructor with a single parameter of type StringBuffer.
The recommended way to store the objects is an XML-representation, because it
is human-readable and flexible enough to describe all objects properly. For
convenience XMLParser provides methods to store all primitive
data types, Strings, Storables and their array types.
For writing or reading a StringBuffer to or from a file you can use FileManager.
XMLParser,
FileManager| Method Summary | |
|---|---|
StringBuffer |
toXML()
This method returns an XML-representation of an instance of the implementing class. |
| Method Detail |
|---|
StringBuffer toXML()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||