public class ModuleWriter extends DocumentWriter
| Modifier and Type | Field and Description |
|---|---|
protected Module |
module
Hold a reference to the module for which to create an XML document.
|
publicId, systemIddocument, DTD_ERROR, DTD_ERROR_1_0, FILENOTFOUND, PUBLIC_ID_ERROR, PUBLIC_ID_ERROR_1_0, utilProperties| Constructor and Description |
|---|
ModuleWriter(Module module)
Constructs the document writer.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
generate()
Generates the document.
|
addComment, addComment, addComment, addContentElement, generateDocument, getDocument, getMessage, getMessage, getMessage, getMessage, getMessageRetriever, includeComments, setIncludeComments, write, writeToFile, writeToStream, writeToStringappendChild, 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, validateprotected Module module
public ModuleWriter(Module module) throws DOMException
module - the module for which to create an XML document.DOMExceptionprotected void generate()
throws DOMException
generate in class DocumentWriterDOMException - when an error occurred during generationMMBase 1.9-SNAPSHOT - ${javadoctimestamp}