public final class LaneAttributes extends Object
Copyright (c) 2013-2018 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,
XmlNetworkLaneParser parser) |
static CrossSectionLink.Priority |
parsePriority(String priority) |
public static LaneKeepingPolicy parseLaneKeepingPolicy(String lkpStr) throws NetworkException
lkpStr - the lane keeping policy string.NetworkException - in case of unknown policy.public static OvertakingConditions parseOvertakingConditions(String ocStr, XmlNetworkLaneParser parser) throws NetworkException
ocStr - the overtaking conditions string.parser - 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 - the priority stringNetworkException - in case of unknown priorityCopyright © 2014–2018 Delft University of Technology. All rights reserved.