org.mmbase.util.xml.applicationdata
Class NodeWriter

java.lang.Object
  extended byorg.mmbase.util.xml.applicationdata.NodeWriter

public class NodeWriter
extends Object

Utility class for writing xml files for data- and relation sources, suppied by an application export class. Does not support or export dtd information.

Version:
$Id: NodeWriter.java,v 1.3 2006/03/24 13:08:30 nklasens Exp $
Author:
Daniel Ockeleon, Jaco de Groot, Pierre van Rooden

Method Summary
 void done()
          Writes a footer to the xml file, and closes the file.
 void write(MMObjectNode node)
          Writes a node (object) to the datasource file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public void write(MMObjectNode node)
Writes a node (object) to the datasource file. Relationsources are stored in a slightly different format from data sources.

Parameters:
node - The object to store.

done

public void done()
Writes a footer to the xml file, and closes the file.



MMBase build 1.8.1.20060716