tit.summary.io.SummaryDOMWriter Class Reference

Inheritance diagram for tit.summary.io.SummaryDOMWriter:

tit.summary.io.SummaryWriter List of all members.

Public Member Functions

 SummaryDOMWriter (Document documentinit) throws IOException
void writeSummary (Summary summary, Personality personality) throws WritingSummaryFailedException
void closeWriter ()

Private Attributes

Document document
Element root

Detailed Description

Writes summaries to a xml-file.
Author:
Bart Sas


Constructor & Destructor Documentation

tit.summary.io.SummaryDOMWriter.SummaryDOMWriter ( Document  documentinit  )  throws IOException

creates a new SummaryXMLWriter

Parameters:
documentinit The document to which the summary is written (must be empty).
Exceptions:
IOException Is thrown when writing fails.


Member Function Documentation

void tit.summary.io.SummaryDOMWriter.writeSummary ( Summary  summary,
Personality  personality 
) throws WritingSummaryFailedException [virtual]

Writes a summary.

Parameters:
summary The summary to write.
personality The personality belonging to summary.
Exceptions:
WritingSummaryFailedException Is thrown when the writing of the summary fails.

Implements tit.summary.io.SummaryWriter.

void tit.summary.io.SummaryDOMWriter.closeWriter (  )  [virtual]

Closes this writer. No further writes are allowed after this method is called.

Implements tit.summary.io.SummaryWriter.


Member Data Documentation

Document tit.summary.io.SummaryDOMWriter.document [private]

The DOM document we are producing

Element tit.summary.io.SummaryDOMWriter.root [private]

The root of the document.


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 16:44:01 2007 by  doxygen 1.5.1