class LinkTag extends Object implements Serializable
Copyright (c) 2013-2018 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 | Class and Description |
|---|---|
(package private) static class |
LinkTag.ContactPointEnum
Enum for road linking contact points: is the link with the start or the end?
|
(package private) static class |
LinkTag.NeighborDirection
Enum for neighbor direction: same or opposite direction?
|
| Modifier and Type | Field and Description |
|---|---|
(package private) LinkTag.NeighborDirection |
leftNeighborDirection
Left neighbor direction.
|
(package private) String |
leftNeighborRoadId
Left neighbor road id.
|
(package private) LinkTag.ContactPointEnum |
predecessorContactPoint
Predecessor contact point.
|
(package private) String |
predecessorId
Predecessor id.
|
(package private) String |
predecessorType
Predecessor Type.
|
(package private) LinkTag.NeighborDirection |
rightNeighborDirection
Right neighbor direction.
|
(package private) String |
rightNeighborRoadId
Right neighbor road id.
|
(package private) LinkTag.ContactPointEnum |
successorContactPoint
Successor contact point.
|
(package private) String |
successorId
Successor id.
|
(package private) String |
successorType
Successor Type.
|
| Constructor and Description |
|---|
LinkTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
parseLink(NodeList nodeList,
OpenDriveNetworkLaneParser parser,
RoadTag roadTag)
Parse the attributes of the road tag.
|
String |
toString() |
String predecessorId
String predecessorType
LinkTag.ContactPointEnum predecessorContactPoint
String successorId
String successorType
LinkTag.ContactPointEnum successorContactPoint
String leftNeighborRoadId
LinkTag.NeighborDirection leftNeighborDirection
String rightNeighborRoadId
LinkTag.NeighborDirection rightNeighborDirection
static void parseLink(NodeList nodeList, OpenDriveNetworkLaneParser parser, RoadTag roadTag) throws SAXException, org.opentrafficsim.core.network.NetworkException
nodeList - the list of subnodes of the road nodeparser - the parser with the lists of informationroadTag - the RoadTag to which this element belongsSAXException - when parsing of the tag failsorg.opentrafficsim.core.network.NetworkException - when parsing of the tag failsCopyright © 2014–2018 Delft University of Technology. All rights reserved.