org.attoparser.markup.dom
Class AbstractDOMWriter

Object
  extended by 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

Constructor Summary
AbstractDOMWriter()
           
 
Method Summary
 void write(INode node, Writer writer)
           
abstract  void writeCDATASection(ICDATASection cdataSection, Writer writer)
           
abstract  void writeComment(IComment comment, Writer writer)
           
abstract  void writeDocType(IDocType docType, Writer writer)
           
abstract  void writeDocument(IDocument document, Writer writer)
           
abstract  void writeElement(IElement element, Writer writer)
           
abstract  void writeProcessingInstruction(IProcessingInstruction processingInstruction, Writer writer)
           
abstract  void writeText(IText text, Writer writer)
           
abstract  void writeXmlDeclaration(IXmlDeclaration xmlDeclaration, Writer writer)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDOMWriter

public AbstractDOMWriter()
Method Detail

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 © 2013 The ATTOPARSER team. All Rights Reserved.