massim.framework
Class XMLOutputObserver

java.lang.Object
  extended by java.util.Observable
      extended by massim.framework.XMLOutputObserver
All Implemented Interfaces:
Component, Observer
Direct Known Subclasses:
GraphSimulationXMLStatisticsObserver, SimulationXMLObserver, SimulationXMLStatisticsObserver, SimulationXMLStatisticsObserverAverageScore

public abstract class XMLOutputObserver
extends java.util.Observable
implements Observer


Constructor Summary
XMLOutputObserver()
           
 
Method Summary
 org.w3c.dom.Document getDocument()
           
 void notifySimulationConfiguration(SimulationConfiguration simconf)
           
 void notifySimulationEnd()
           
 void notifySimulationStart()
           
 void notifySimulationState(SimulationState state)
           
 void resetDocument()
           
 void setDocument(org.w3c.dom.Document doc)
           
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface massim.framework.Component
start, stop
 

Constructor Detail

XMLOutputObserver

public XMLOutputObserver()
Method Detail

resetDocument

public void resetDocument()

getDocument

public org.w3c.dom.Document getDocument()

setDocument

public void setDocument(org.w3c.dom.Document doc)

notifySimulationStart

public void notifySimulationStart()
Specified by:
notifySimulationStart in interface Observer

notifySimulationEnd

public void notifySimulationEnd()
Specified by:
notifySimulationEnd in interface Observer

notifySimulationState

public void notifySimulationState(SimulationState state)
Specified by:
notifySimulationState in interface Observer

notifySimulationConfiguration

public void notifySimulationConfiguration(SimulationConfiguration simconf)
Specified by:
notifySimulationConfiguration in interface Observer


Copyright © 2011. All Rights Reserved.