class LaneTypeTag extends Object implements Serializable
<xsd:element name="LANETYPE">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="GTUTYPE" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="NAME" type="xsd:string" use="required" />
<xsd:attribute name="LEGALSPEEDLIMIT" type="SPEEDTYPE" use="optional" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="NAME" type="xsd:string" use="required" />
<xsd:attribute name="DEFAULTLANEWIDTH" type="LENGTHTYPE" use="optional" />
<xsd:attribute name="DEFAULTLANEKEEPING" type="LANEKEEPINGTYPE" use="optional" />
<xsd:attribute ref="xml:base" />
</xsd:complexType>
</xsd:element>
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2016-11-16 21:00:42 +0100 (Wed, 16 Nov 2016) $, @version $Revision: 2559 $, by $Author: averbraeck $,
initial version Jul 23, 2015
| Modifier and Type | Field and Description |
|---|---|
(package private) org.opentrafficsim.road.network.lane.changing.LaneKeepingPolicy |
defaultLaneKeepingPolicy
The lane keeping policy, i.e., keep left, keep right or keep lane.
|
(package private) org.djunits.value.vdouble.scalar.Length |
defaultLaneWidth
Default lane width.
|
(package private) Map<org.opentrafficsim.core.gtu.GTUType,org.djunits.value.vdouble.scalar.Speed> |
legalSpeedLimits
Speed limits.
|
(package private) String |
name
Name.
|
| Constructor and Description |
|---|
LaneTypeTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
parseLaneTypes(NodeList nodeList,
VissimNetworkLaneParser parser)
Parse the LANETYPE tags.
|
String name
Map<org.opentrafficsim.core.gtu.GTUType,org.djunits.value.vdouble.scalar.Speed> legalSpeedLimits
org.djunits.value.vdouble.scalar.Length defaultLaneWidth
org.opentrafficsim.road.network.lane.changing.LaneKeepingPolicy defaultLaneKeepingPolicy
static void parseLaneTypes(NodeList nodeList, VissimNetworkLaneParser 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 failsCopyright © 2014–2016 Delft University of Technology. All rights reserved.