|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface tells the system that the object wants to manage the reading and writing of its property list.
Method Summary | |
void |
readData(org.w3c.dom.Node bean)
Tells the object to parse its externalized representation from a list of lines. |
boolean |
shouldWrite()
Allows the object to determine whether it wants to be written out at all. |
java.util.List |
writeData()
Tells the object to write its properties out to a text file. |
Method Detail |
public void readData(org.w3c.dom.Node bean) throws java.lang.Exception
bean
- the XML DOM representation of the externalized
bean object. Its child could be a text node, in which case
the bean has to do all the parsing for the data. It could
also wrap a series of elements (e.g. archetypes), in which case
the bean may wish to leverage the XML parsing utilities that
the game provides in the ArchetypeManager.
java.lang.Exception
public java.util.List writeData() throws java.lang.Exception
java.lang.Exception
public boolean shouldWrite()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |