public abstract class SimulationXMLObserver extends XMLOutputObserver
Modifier and Type | Field and Description |
---|---|
protected Document |
doc |
protected Element |
el_root |
Constructor and Description |
---|
SimulationXMLObserver()
This constructor creates the document.
|
Modifier and Type | Method and Description |
---|---|
protected Element |
createItem(Document doc,
String string,
Integer k,
Integer j) |
void |
notifySimulationEnd() |
void |
notifySimulationStart() |
protected void |
saveInfile(String filename) |
void |
start()
Tell the component to start activity.
|
void |
stop()
Tell the component to cease activity.
|
getDocument, notifySimulationConfiguration, notifySimulationState, resetDocument, setDocument
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
public SimulationXMLObserver()
public void notifySimulationStart()
notifySimulationStart
in interface Observer
notifySimulationStart
in class XMLOutputObserver
public void notifySimulationEnd()
notifySimulationEnd
in interface Observer
notifySimulationEnd
in class XMLOutputObserver
protected void saveInfile(String filename)
public void start()
Component
public void stop()
Component
Copyright © 2013. All Rights Reserved.