class CrossSectionElementTag extends Object implements Serializable
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 | Class and Description |
|---|---|
(package private) static class |
CrossSectionElementTag.ElementType
Element types.
|
(package private) static class |
CrossSectionElementTag.StripeType
Stripe types.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) Color |
color
Animation color.
|
(package private) org.opentrafficsim.core.network.LongitudinalDirectionality |
direction
Direction.
|
(package private) CrossSectionElementTag.ElementType |
elementType
Type.
|
(package private) LaneType |
laneType
Lane type in case elementType is a LANE.
|
(package private) String |
laneTypeString
Lane type name in case elementType is a LANE.
|
(package private) String |
name
Name.
|
(package private) org.djunits.value.vdouble.scalar.Length |
offset
Offset.
|
(package private) OvertakingConditions |
overtakingConditions
Overtaking conditions.
|
(package private) org.djunits.value.vdouble.scalar.Speed |
speed
Speed limit.
|
(package private) CrossSectionElementTag.StripeType |
stripeType
Stripe type.
|
(package private) org.djunits.value.vdouble.scalar.Length |
width
Lane width.
|
| Constructor and Description |
|---|
CrossSectionElementTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static CrossSectionElementTag |
parseLane(Node node,
XmlNetworkLaneParser parser,
RoadTypeTag roadTypeTag)
Parse the ROADTYPE.LANE tag.
|
(package private) static CrossSectionElementTag |
parseNoTrafficLane(Node node,
XmlNetworkLaneParser parser,
RoadTypeTag roadTypeTag)
Parse the ROADTYPE.NOTRAFFICLANE tag.
|
(package private) static CrossSectionElementTag |
parseShoulder(Node node,
XmlNetworkLaneParser parser,
RoadTypeTag roadTypeTag)
Parse the ROADTYPE.SHOULDER tag.
|
(package private) static CrossSectionElementTag |
parseStripe(Node node,
XmlNetworkLaneParser parser,
RoadTypeTag roadTypeTag)
Parse the ROADTYPE.STRIPE tag.
|
String |
toString() |
CrossSectionElementTag.ElementType elementType
String name
String laneTypeString
LaneType laneType
CrossSectionElementTag.StripeType stripeType
org.djunits.value.vdouble.scalar.Length offset
org.djunits.value.vdouble.scalar.Speed speed
org.djunits.value.vdouble.scalar.Length width
org.opentrafficsim.core.network.LongitudinalDirectionality direction
Color color
OvertakingConditions overtakingConditions
static CrossSectionElementTag parseLane(Node node, XmlNetworkLaneParser parser, RoadTypeTag roadTypeTag) throws SAXException, org.opentrafficsim.core.network.NetworkException
node - the node of the XML-fileparser - the parser with the lists of informationroadTypeTag - the tag with the enclosing informationSAXException - when parsing of the tag failsorg.opentrafficsim.core.network.NetworkException - when parsing of the tag failsstatic CrossSectionElementTag parseNoTrafficLane(Node node, XmlNetworkLaneParser parser, RoadTypeTag roadTypeTag) throws SAXException, org.opentrafficsim.core.network.NetworkException
node - the node of the XML-fileparser - the parser with the lists of informationroadTypeTag - the tag with the enclosing informationSAXException - when parsing of the tag failsorg.opentrafficsim.core.network.NetworkException - when parsing of the tag failsstatic CrossSectionElementTag parseShoulder(Node node, XmlNetworkLaneParser parser, RoadTypeTag roadTypeTag) throws SAXException, org.opentrafficsim.core.network.NetworkException
node - the node of the XML-fileparser - the parser with the lists of informationroadTypeTag - the tag with the enclosing informationSAXException - when parsing of the tag failsorg.opentrafficsim.core.network.NetworkException - when parsing of the tag failsstatic CrossSectionElementTag parseStripe(Node node, XmlNetworkLaneParser parser, RoadTypeTag roadTypeTag) throws SAXException, org.opentrafficsim.core.network.NetworkException
node - the node of the XML-fileparser - the parser with the lists of informationroadTypeTag - the tag with the enclosing 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.