massim.competition2010
Class GridSimulationXMLObserver

java.lang.Object
  extended by java.util.Observable
      extended by massim.framework.XMLOutputObserver
          extended by massim.gridsimulations.SimulationXMLObserver
              extended by massim.competition2010.GridSimulationXMLObserver
All Implemented Interfaces:
Component, Observer

public class GridSimulationXMLObserver
extends SimulationXMLObserver

This XMLObserver provides the simulation statistics and save it into a file.


Field Summary
 
Fields inherited from class massim.gridsimulations.SimulationXMLObserver
doc, el_root
 
Constructor Summary
GridSimulationXMLObserver()
          This constructor creates the document.
 
Method Summary
 void notifySimulationState(SimulationState state)
           
 
Methods inherited from class massim.gridsimulations.SimulationXMLObserver
createItem, notifySimulationEnd, notifySimulationStart, saveInfile, start, stop
 
Methods inherited from class massim.framework.XMLOutputObserver
getDocument, notifySimulationConfiguration, resetDocument, setDocument
 
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
 

Constructor Detail

GridSimulationXMLObserver

public GridSimulationXMLObserver()
This constructor creates the document.

Method Detail

notifySimulationState

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


Copyright © 2012. All Rights Reserved.