class GTUMixTag extends Object implements Serializable
<xsd:element name="GTUMIX">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="GTU" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="NAME" type="xsd:string" use="required" />
<xsd:attribute name="WEIGHT" type="xsd:double" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="NAME" type="xsd:string" use="required" />
<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-07 22:46:15 +0100 (Mon, 07 Nov 2016) $, @version $Revision: 2528 $, by $Author: gtamminga $,
initial version Jul 23, 2015
| Modifier and Type | Field and Description |
|---|---|
(package private) List<GTUTag> |
gtus
GTUs.
|
(package private) String |
name
Name.
|
(package private) List<Double> |
weights
Weights.
|
| Constructor and Description |
|---|
GTUMixTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
parseGTUMix(NodeList nodeList,
VissimNetworkLaneParser parser)
Parse the GTUMIX tag.
|
String |
toString() |
String name
static void parseGTUMix(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.