org.mmbase.util.xml
Class ModuleWriter
java.lang.Object
org.mmbase.util.xml.DocumentReader
org.mmbase.util.xml.DocumentWriter
org.mmbase.util.xml.ModuleWriter
public class ModuleWriter
- extends DocumentWriter
- Version:
- $Id: ModuleWriter.java 34900 2009-05-01 16:29:42Z michiel $
- Author:
- Daniel Ockeloen
|
Field Summary |
protected Module |
module
Hold a reference to the module for which to create an XML document. |
|
Method Summary |
protected void |
generate()
Generates the document. |
| Methods inherited from class org.mmbase.util.xml.DocumentWriter |
addComment, addComment, addComment, addContentElement, generateDocument, getDocument, getMessage, getMessage, getMessage, getMessage, getMessageRetriever, includeComments, setIncludeComments, write, writeToFile, writeToStream, writeToString |
| Methods inherited from class org.mmbase.util.xml.DocumentReader |
appendChild, getAttribute, getChildElements, getChildElements, getChildElements, getChildElements, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getElementAttributeValue, getElementAttributeValue, getElementByPath, getElementByPath, getElementName, getElementValue, getElementValue, getNodeTextValue, getNodeTextValue, getRootElement, getSystemId, hasAttribute, main, registerPublicIDs, setNodeTextValue, setPrefix, setSystemId, toDocument, validate, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
protected Module module
- Hold a reference to the module for which to create an XML document.
ModuleWriter
public ModuleWriter(Module module)
throws 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.
- Throws:
DOMException
generate
protected void generate()
throws DOMException
- Generates the document. Can only be called once.
- Specified by:
generate in class DocumentWriter
- Throws:
DOMException - when an error occurred during generation
MMBase 2.0-SNAPSHOT - null