|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecterland.util.XMLStorage
public class XMLStorage
A storage object that stores its data as XML in memory
Constructor Summary | |
---|---|
XMLStorage(XMLNode node)
Creates a new object based on the data in an XMLNode object |
Method Summary | |
---|---|
XMLNode |
getXMLNode()
Get the storage data as an XMLNode object |
String |
load()
Read data from the storage as a string |
void |
save(String str)
Store the specified string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLStorage(XMLNode node)
node
- The XMLNode object containing the dataMethod Detail |
---|
public XMLNode getXMLNode()
public void save(String str)
StorageInterface
save
in interface StorageInterface
str
- String to storepublic String load()
StorageInterface
load
in interface StorageInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |