edu.cmu.emulator.creator.config
Class Event

java.lang.Object
  extended by edu.cmu.emulator.creator.config.ConfigNode
      extended by edu.cmu.emulator.creator.config.Event
Direct Known Subclasses:
Add, EventThreadExit, Exec, Message, RandomWalk, ScriptName, SetDestAndArrivalTime, SetDestAndDuration, SetOrientation, SetPos, Sleep, StartRoute

public abstract class Event
extends ConfigNode


Constructor Summary
Event()
           
 
Method Summary
abstract  Event clone()
           
static Event fromXML(Element el)
           
abstract  String getType()
           
 String toString()
           
protected  Element toXML(Document doc)
           
protected abstract  void toXML(Document doc, Element el)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Event

public Event()
Method Detail

getType

public abstract String getType()

toString

public String toString()
Overrides:
toString in class Object

clone

public abstract Event clone()
Overrides:
clone in class Object

fromXML

public static Event fromXML(Element el)
                     throws ConfigException
Throws:
ConfigException

toXML

protected Element toXML(Document doc)

toXML

protected abstract void toXML(Document doc,
                              Element el)


Copyright © 2013. All Rights Reserved.