class RoadTypeTag extends Object
Copyright (c) 2013-2015 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) Map<String,CrossSectionElementTag> |
cseTags
CrossSectionElementTags, order is important, so a LinkedHashMap.
|
(package private) LaneKeepingPolicy |
laneKeepingPolicy
the lane keeping policy, i.e., keep left, keep right or keep lane.
|
(package private) String |
name
name.
|
(package private) OvertakingConditions |
overtakingConditions
the overtaking conditions for the lanes of this road type.
|
(package private) org.djunits.value.vdouble.scalar.Speed |
speed
default speed.
|
(package private) org.djunits.value.vdouble.scalar.Length.Rel |
width
default lane width.
|
| Constructor and Description |
|---|
RoadTypeTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static RoadTypeTag |
parseRoadType(Node node,
XmlNetworkLaneParser parser)
Parse the ROADTYPE tags.
|
(package private) static void |
parseRoadTypes(NodeList nodeList,
XmlNetworkLaneParser parser)
Parse the ROADTYPE tags.
|
String name
org.djunits.value.vdouble.scalar.Speed speed
org.djunits.value.vdouble.scalar.Length.Rel width
Map<String,CrossSectionElementTag> cseTags
LaneKeepingPolicy laneKeepingPolicy
OvertakingConditions overtakingConditions
static void parseRoadTypes(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 failsstatic RoadTypeTag parseRoadType(Node node, XmlNetworkLaneParser parser) throws SAXException, org.opentrafficsim.core.network.NetworkException
node - the ROADTYPE 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 failsCopyright © 2014–2015 Delft University of Technology. All rights reserved.