public class BuilderWriter extends DocumentWriter
publicId, systemIddocument, DTD_ERROR, DTD_ERROR_1_0, FILENOTFOUND, PUBLIC_ID_ERROR, PUBLIC_ID_ERROR_1_0, utilProperties| Constructor and Description |
|---|
BuilderWriter(MMObjectBuilder builder)
Constructs the document writer.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
generate()
Generates the document.
|
boolean |
getExpandBuilder()
Gets whether the builder will expand when writing.
|
void |
setExpandBuilder(boolean value)
Sets whether the builder will expand when writing.
|
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, validatepublic BuilderWriter(MMObjectBuilder builder) throws DOMException
builder - the builder for which to create an XML document.DOMExceptionprotected void generate()
throws DOMException
generate in class DocumentWriterDOMException - when an error occurred during generationpublic void setExpandBuilder(boolean value)
value - if true, the buidler will expandpublic boolean getExpandBuilder()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}