org.mmbase.util.xml
Class ModuleWriter

java.lang.Object
  |
  +--org.mmbase.util.xml.DocumentWriter
        |
        +--org.mmbase.util.xml.ModuleWriter

public class ModuleWriter
extends DocumentWriter

Version:
19 Apr 2001
Author:
Daniel Ockeloen

Fields inherited from class org.mmbase.util.xml.DocumentWriter
document
 
Constructor Summary
ModuleWriter(Module module)
          Constructs the document writer.
 
Method Summary
protected  void generate()
          Generates the document.
 
Methods inherited from class org.mmbase.util.xml.DocumentWriter
addComment, addComment, addComment, addContentElement, generateDocument, getDocument, getIncludeComments, getMessage, getMessage, getMessage, getMessage, getMessageRetriever, setIncludeComments, write, writeToFile, writeToStream, writeToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleWriter

public ModuleWriter(Module module)
             throws org.w3c.dom.DOMException
Constructs the document writer. The constructor calls its super to create a basic document, based on the module document type.
Parameters:
module - the module for which to create an XML document.
Method Detail

generate

protected void generate()
                 throws org.w3c.dom.DOMException
Generates the document. Can only be called once.
Overrides:
generate in class DocumentWriter
Throws:
org.w3c.dom.DOMException - when an error occurred during generation


MMBase build 1.6.5.20030923