fr.jussieu.gla.wasa.monitor.xml
Class EventDrivenWriter

java.lang.Object
  |
  +--fr.jussieu.gla.wasa.monitor.xml.ReportWriter
        |
        +--fr.jussieu.gla.wasa.monitor.xml.EventDrivenWriter
All Implemented Interfaces:
AlgorithmListener, java.util.EventListener, IConstants

public class EventDrivenWriter
extends ReportWriter
implements AlgorithmListener

An AlgorithmListener which writes to an XML log.

Version:
$Revision: 1.5 $ $Date: 2002/03/19 14:19:56 $
Author:
Laurent Caillette

Fields inherited from interface fr.jussieu.gla.wasa.monitor.xml.IConstants
BESTCONFIGURATION_ELEMENT, CONFIGURATION_ELEMENT, CONSTRAINT_ELEMENT, CONSTRAINTS_ELEMENT, DATE_ELEMENT, ENCODING, ERROR_ATTRIBUTE, EXPLORE_RESULT_ATTRIBUTE, ID_ATTRIBUTE, MONITORING_ELEMENT, NAME_ATTRIBUTE, NAMESPACE_PREFIX, NAMESPACE_URI, NAN_STRING, OVERALLERROR_ATTRIBUTE, PROBLEMCLASS_ELEMENT, RUNSESSION_ELEMENT, SELECTEDVAR_ATTRIBUTE, SELECTION_ELEMENT, SIRE_ATTRIBUTE, STEP_ELEMENT, TABU_ELEMENT, TABULIST_ELEMENT, USERDIR_ELEMENT, VALUE_ELEMENT, VAR_ATTRIBUTE, VAR_ELEMENT, WORST_ELEMENT
 
Constructor Summary
EventDrivenWriter(java.io.OutputStream os)
           
EventDrivenWriter(java.io.PrintStream out)
           
EventDrivenWriter(Problem problem, java.io.OutputStream os)
           
EventDrivenWriter(Problem problem, java.io.PrintStream out)
           
EventDrivenWriter(Problem problem, java.lang.String logFileName)
           
EventDrivenWriter(java.lang.String logFileName)
           
 
Method Summary
 void endMonitoring(MonitorEvent event)
           
 void endStep(StepEvent event)
           
 void startMonitoring(MonitorEvent event)
           
 void startStep(StepEvent event)
           
 
Methods inherited from class fr.jussieu.gla.wasa.monitor.xml.ReportWriter
isUsingNamespace, setUsingNamespace, write, write, writeHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventDrivenWriter

public EventDrivenWriter(java.io.OutputStream os)

EventDrivenWriter

public EventDrivenWriter(Problem problem,
                         java.io.OutputStream os)

EventDrivenWriter

public EventDrivenWriter(java.io.PrintStream out)

EventDrivenWriter

public EventDrivenWriter(Problem problem,
                         java.io.PrintStream out)

EventDrivenWriter

public EventDrivenWriter(java.lang.String logFileName)
                  throws java.io.IOException

EventDrivenWriter

public EventDrivenWriter(Problem problem,
                         java.lang.String logFileName)
                  throws java.io.IOException
Method Detail

startMonitoring

public void startMonitoring(MonitorEvent event)
Specified by:
startMonitoring in interface AlgorithmListener

endMonitoring

public void endMonitoring(MonitorEvent event)

startStep

public void startStep(StepEvent event)
Specified by:
startStep in interface AlgorithmListener

endStep

public void endStep(StepEvent event)
Specified by:
endStep in interface AlgorithmListener