|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A Buildable instance can be initialized from a configuration file. The configuration file is an XML file in which each XML element represents an object. The Buildable objects are built into an containment hierarchy that mirrors the XML structure.
| Method Summary | |
void |
add(Buildable child)
Adds a child component. |
void |
addTo(Buildable parent)
Adds this component to its parent. |
void |
build(org.w3c.dom.Element e)
Build the object |
org.w3c.dom.Element |
getBuildElement(org.w3c.dom.Document doc)
|
| Method Detail |
public void build(org.w3c.dom.Element e)
e - the XML element containing the object datapublic void addTo(Buildable parent)
public void add(Buildable child)
addTo(VASSAL.build.Buildable) are
invoked when adding a child to a parent
public org.w3c.dom.Element getBuildElement(org.w3c.dom.Document doc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||