edu.cmu.emulator.world
Class MobilityDef
java.lang.Object
edu.cmu.emulator.world.MobilityDef
public class MobilityDef
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
routeDefMap
public HashMap routeDefMap
routeList
private ArrayList routeList
MobilityDef
public MobilityDef()
getRouteDef
public RouteDef getRouteDef(String name)
instantiateRoute
public Route instantiateRoute(String name)
parse
public void parse(String inFile)
throws IOException
- Throws:
IOException
parse
public void parse(InputStream inStream)
throws IOException
- Throws:
IOException
parse
public void parse(Element mobilityDefElement)
addRouteDefs
public void addRouteDefs(ArrayList routeDefList)
addRouteDef
public void addRouteDef(RouteDef routeDef)
getRoutes
public RouteDef[] getRoutes()
Copyright © 2013. All Rights Reserved.