|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.kolls.railworld.io.XMLWriter
public class XMLWriter
Writes an XML file in the RWM format.
| Constructor Summary | |
|---|---|
XMLWriter()
|
|
| Method Summary | |
|---|---|
static void |
write(RailSegment[] la,
MetaData md,
java.io.File f)
Writes an XML file in the RWM format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLWriter()
| Method Detail |
|---|
public static void write(RailSegment[] la,
MetaData md,
java.io.File f)
throws javax.xml.transform.TransformerException,
javax.xml.parsers.ParserConfigurationException
la - Array of rail segments.md - MetaData to write.f - File to write to.
javax.xml.transform.TransformerException - If the file cannot be written.
javax.xml.parsers.ParserConfigurationException - If the XML DOM builder breaks.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||