org.mmbase.util
Class NodeWriter

java.lang.Object
  |
  +--org.mmbase.util.NodeWriter

public class NodeWriter
extends java.lang.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:
9-11-2000
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 2001