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
Modifier and Type | Method and Description |
---|---|
static LaneKeepingPolicy |
parseLaneKeepingPolicy(String lkpStr) |
static OvertakingConditions |
parseOvertakingConditions(String ocStr,
XmlNetworkLaneParserOld parser) |
static CrossSectionLink.Priority |
parsePriority(String priority) |
public static LaneKeepingPolicy parseLaneKeepingPolicy(String lkpStr) throws NetworkException
lkpStr
- String; the lane keeping policy string.NetworkException
- in case of unknown policy.public static OvertakingConditions parseOvertakingConditions(String ocStr, XmlNetworkLaneParserOld parser) throws NetworkException
ocStr
- String; the overtaking conditions string.parser
- XmlNetworkLaneParserOld; the parser to get access to the defined GTUTypes.NetworkException
- in case of unknown overtaking conditions.public static CrossSectionLink.Priority parsePriority(String priority) throws NetworkException
priority
- String; the priority stringNetworkException
- in case of unknown priorityCopyright © 2014–2019 Delft University of Technology. All rights reserved.