org.attoparser.markup.dom
Class AbstractDOMWriter
Object
org.attoparser.markup.dom.AbstractDOMWriter
- All Implemented Interfaces:
- IDOMWriter
- Direct Known Subclasses:
- XmlDOMWriter
public abstract class AbstractDOMWriter
- extends Object
- implements IDOMWriter
Abstract base class for objects implementing the IDOMWriter
interface.
- Since:
- 1.1
- Author:
- Daniel Fernández
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDOMWriter
public AbstractDOMWriter()
write
public void write(INode node,
Writer writer)
throws IOException
- Specified by:
write
in interface IDOMWriter
- Throws:
IOException
writeCDATASection
public abstract void writeCDATASection(ICDATASection cdataSection,
Writer writer)
throws IOException
- Throws:
IOException
writeComment
public abstract void writeComment(IComment comment,
Writer writer)
throws IOException
- Throws:
IOException
writeDocType
public abstract void writeDocType(IDocType docType,
Writer writer)
throws IOException
- Throws:
IOException
writeDocument
public abstract void writeDocument(IDocument document,
Writer writer)
throws IOException
- Throws:
IOException
writeElement
public abstract void writeElement(IElement element,
Writer writer)
throws IOException
- Throws:
IOException
writeProcessingInstruction
public abstract void writeProcessingInstruction(IProcessingInstruction processingInstruction,
Writer writer)
throws IOException
- Throws:
IOException
writeText
public abstract void writeText(IText text,
Writer writer)
throws IOException
- Throws:
IOException
writeXmlDeclaration
public abstract void writeXmlDeclaration(IXmlDeclaration xmlDeclaration,
Writer writer)
throws IOException
- Throws:
IOException
Copyright © 2012 The ATTOPARSER team. All Rights Reserved.