Rogue Wave JViews Maps for Defense
>
Programmer's documentation
>
Developing with the JViews Diagrammer SDK
>
Using and writing data models
>
Handling XML data files in Java
>
Writing data
INDEX
|
PREVIOUS
NEXT
Writing data
There are several ways available to write the contents of the data model to an XML file:
Call the method
writeXML
, specifying the filename:
myEngine.writeXML("output.xml");
Call the method
writeXML
to write XML data to an output stream.
Call the method
writeDOM
to write data directly to a DOM tree.
Current section
Handling XML data files in Java