org.daisy.zedval
Class DefaultReporter

java.lang.Object
  extended byorg.daisy.zedval.DefaultReporter
All Implemented Interfaces:
ZedReporter

public class DefaultReporter
extends java.lang.Object
implements ZedReporter

The default ZedReporter for the ZedVal application

Author:
James Pritchett, Daniel Carlsson, Tor Ghai, Piotr Kiernicki

Constructor Summary
DefaultReporter()
           
 
Method Summary
 void addMessage(ZedMessage m)
          Adds a message for the report output
 void close()
          Closes the report
 void initialize()
          Initializes the report
 void setContext(DefaultContext c)
          Associates a DefaultContext with this report (used only by the reporter, not TestProcessors)
 void setContext(ZedContext c)
          Associates a ZedContext with this report
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultReporter

public DefaultReporter()
Method Detail

setContext

public void setContext(ZedContext c)
Associates a ZedContext with this report

Specified by:
setContext in interface ZedReporter
Parameters:
c - The ZedContext associated with this report

setContext

public void setContext(DefaultContext c)
Associates a DefaultContext with this report (used only by the reporter, not TestProcessors)

Parameters:
c - the DefaultContext object associated with this report

initialize

public void initialize()
                throws ZedReporterException
Initializes the report

Specified by:
initialize in interface ZedReporter
Throws:
ZedReporterException

addMessage

public void addMessage(ZedMessage m)
                throws ZedReporterException
Adds a message for the report output

Specified by:
addMessage in interface ZedReporter
Throws:
ZedReporterException

close

public void close()
           throws ZedReporterException
Closes the report

Specified by:
close in interface ZedReporter
Throws:
ZedReporterException