class RouteTag extends Object implements Serializable
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
initial version Jul 23, 2015
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
name
Name.
|
(package private) org.opentrafficsim.core.network.route.Route |
route
Route that has been generated.
|
(package private) List<NodeTag> |
routeNodeTags
Nodes.
|
| Constructor and Description |
|---|
RouteTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
makeRoute()
Make the route based on the nodes.
|
(package private) static void |
parseRoutes(NodeList nodeList,
XmlNetworkLaneParser parser)
Parse the ROUTE tag.
|
String |
toString() |
String name
org.opentrafficsim.core.network.route.Route route
static void parseRoutes(NodeList nodeList, XmlNetworkLaneParser parser) throws SAXException, org.opentrafficsim.core.network.NetworkException
nodeList - nodeList the top-level nodes of the XML-fileparser - the parser with the lists of informationSAXException - when parsing of the tag failsorg.opentrafficsim.core.network.NetworkException - when parsing of the tag failsvoid makeRoute()
throws org.opentrafficsim.core.network.NetworkException
org.opentrafficsim.core.network.NetworkException - when node cannot be added.Copyright © 2014–2018 Delft University of Technology. All rights reserved.