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-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2017-04-29 13:29:16 +0200 (Sat, 29 Apr 2017) $, @version $Revision: 3573 $, by $Author: averbraeck $,
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–2017 Delft University of Technology. All rights reserved.