|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--VASSAL.build.Builder
This class holds static convenience methods for building Buildable
objects
| Constructor Summary | |
Builder()
|
|
| Method Summary | |
static void |
build(org.w3c.dom.Element e,
Buildable parent)
General building algorithm. |
static Buildable |
create(org.w3c.dom.Element e)
Create an instance of a class from an XML element and build it The .class file for the named class may be either
in the System's classpath or else within the DataArchive
of the GameModule |
static org.w3c.dom.Document |
createDocument(java.io.InputStream inStream)
Read an XML document from an InputStream |
static org.w3c.dom.Document |
createNewDocument()
Create a new XML document |
static java.lang.String |
getText(org.w3c.dom.Element e)
Return the decoded text contents of an Element node |
static void |
main(java.lang.String[] args)
|
static java.lang.String |
toString(org.w3c.dom.Document doc)
|
static java.lang.String |
toString(org.w3c.dom.Node n)
Deprecated. |
static void |
writeDocument(org.w3c.dom.Document doc,
java.io.Writer writer)
Write an XML document to a Writer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Builder()
| Method Detail |
public static void build(org.w3c.dom.Element e,
Buildable parent)
Buildable.build(org.w3c.dom.Element) method
before calling its Buildable.addTo(VASSAL.build.Buildable) methodparent - the parent Buildable instance
public static Buildable create(org.w3c.dom.Element e)
throws java.lang.Exception
.class file for the named class may be either
in the System's classpath or else within the DataArchive
of the GameModule
public static org.w3c.dom.Document createDocument(java.io.InputStream inStream)
throws java.io.IOException
public static org.w3c.dom.Document createNewDocument()
public static void writeDocument(org.w3c.dom.Document doc,
java.io.Writer writer)
throws java.io.IOException
public static java.lang.String getText(org.w3c.dom.Element e)
public static java.lang.String toString(org.w3c.dom.Document doc)
public static java.lang.String toString(org.w3c.dom.Node n)
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||