org.attoparser.markup.xml
Class XmlDOMWriter
Object
org.attoparser.markup.dom.AbstractDOMWriter
org.attoparser.markup.xml.XmlDOMWriter
- All Implemented Interfaces:
- IDOMWriter
public final class XmlDOMWriter
- extends AbstractDOMWriter
Specialization of XmlDOMWriter
for writing attoDOM trees
as XML markup.
- Since:
- 1.1
- Author:
- Daniel Fernández
Constructor Summary |
XmlDOMWriter()
Create a new instance of this DOM writer. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlDOMWriter
public XmlDOMWriter()
Create a new instance of this DOM writer.
writeCDATASection
public void writeCDATASection(ICDATASection cdataSection,
Writer writer)
throws IOException
- Specified by:
writeCDATASection
in class AbstractDOMWriter
- Throws:
IOException
writeComment
public void writeComment(IComment comment,
Writer writer)
throws IOException
- Specified by:
writeComment
in class AbstractDOMWriter
- Throws:
IOException
writeDocType
public void writeDocType(IDocType docType,
Writer writer)
throws IOException
- Specified by:
writeDocType
in class AbstractDOMWriter
- Throws:
IOException
writeDocument
public void writeDocument(IDocument document,
Writer writer)
throws IOException
- Specified by:
writeDocument
in class AbstractDOMWriter
- Throws:
IOException
writeElement
public void writeElement(IElement element,
Writer writer)
throws IOException
- Specified by:
writeElement
in class AbstractDOMWriter
- Throws:
IOException
writeProcessingInstruction
public void writeProcessingInstruction(IProcessingInstruction processingInstruction,
Writer writer)
throws IOException
- Specified by:
writeProcessingInstruction
in class AbstractDOMWriter
- Throws:
IOException
writeText
public void writeText(IText text,
Writer writer)
throws IOException
- Specified by:
writeText
in class AbstractDOMWriter
- Throws:
IOException
writeXmlDeclaration
public void writeXmlDeclaration(IXmlDeclaration xmlDeclaration,
Writer writer)
throws IOException
- Specified by:
writeXmlDeclaration
in class AbstractDOMWriter
- Throws:
IOException
Copyright © 2013 The ATTOPARSER team. All Rights Reserved.