de.steeringbehaviors.creator.editor
Class XMLWriter

java.lang.Object
  extended by de.steeringbehaviors.creator.editor.XMLWriter

public class XMLWriter
extends java.lang.Object

Class XMLWriter Implements functions to write a Document in a xml file


Constructor Summary
XMLWriter(org.w3c.dom.Document document)
          Constructor
 
Method Summary
 void setDocument(org.w3c.dom.Document document)
          Sets the Document to write in the file
 void writeXML(java.lang.String path, java.lang.String filename)
          Writes the Document in a xml file using the XMLSerializer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLWriter

public XMLWriter(org.w3c.dom.Document document)
Constructor

Parameters:
document - Document to write in file
Method Detail

setDocument

public void setDocument(org.w3c.dom.Document document)
Sets the Document to write in the file

Parameters:
document - Document object to write in the file

writeXML

public void writeXML(java.lang.String path,
                     java.lang.String filename)
Writes the Document in a xml file using the XMLSerializer

Parameters:
path - Path of the xml file
filename - Filename of the xml file