Class LaneAttributes
java.lang.Object
org.opentrafficsim.road.network.factory.xml.old.LaneAttributes
public final class LaneAttributes extends Object
Copyright (c) 2013-2019 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
- Author:
- Alexander Verbraeck
-
Method Summary
Modifier and Type Method Description static LaneKeepingPolicyparseLaneKeepingPolicy(String lkpStr)static OvertakingConditionsparseOvertakingConditions(String ocStr, XmlNetworkLaneParserOld parser)static CrossSectionLink.PriorityparsePriority(String priority)
-
Method Details
-
parseLaneKeepingPolicy
- Parameters:
lkpStr- String; the lane keeping policy string.- Returns:
- the lane keeping policy.
- Throws:
NetworkException- in case of unknown policy.
-
parseOvertakingConditions
public static OvertakingConditions parseOvertakingConditions(String ocStr, XmlNetworkLaneParserOld parser) throws NetworkException- Parameters:
ocStr- String; the overtaking conditions string.parser- XmlNetworkLaneParserOld; the parser to get access to the defined GTUTypes.- Returns:
- the overtaking conditions.
- Throws:
NetworkException- in case of unknown overtaking conditions.
-
parsePriority
- Parameters:
priority- String; the priority string- Returns:
- the priority
- Throws:
NetworkException- in case of unknown priority
-