edu.cmu.emulator.creator.config
Class Route
java.lang.Object
edu.cmu.emulator.creator.config.ConfigNode
edu.cmu.emulator.creator.config.Route
public class Route
- extends ConfigNode
name
private String name
loop
private boolean loop
waypoints
private List<Waypoint> waypoints
Route
public Route(String name,
boolean loop,
List<Waypoint> waypoints)
Route
public Route(Route other)
getName
public String getName()
getLoop
public boolean getLoop()
getWaypoints
public List<Waypoint> getWaypoints()
toString
public String toString()
- Overrides:
toString
in class Object
fromXML
public static Route fromXML(Element el)
throws ConfigException
- Throws:
ConfigException
toXML
protected Element toXML(Document doc)
Copyright © 2013. All Rights Reserved.