Package org.opentrafficsim.xml.bindings
Class PriorityAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,E>
org.opentrafficsim.xml.bindings.ExpressionAdapter<CrossSectionLink.Priority,PriorityType>
org.opentrafficsim.xml.bindings.PriorityAdapter
PriorityAdapter to convert between XML representations of an arc direction, coded as PRIORITY | NONE | TURN_ON_RED | YIELD |
STOP | ALL_STOP | BUS_STOP, and an enum type.
Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
-
Method Summary
Methods inherited from class org.opentrafficsim.xml.bindings.ExpressionAdapter
isExpression, marshal, marshal, trimBrackets
-
Constructor Details
-
PriorityAdapter
public PriorityAdapter()
-
-
Method Details
-
unmarshal
- Specified by:
unmarshal
in classExpressionAdapter<CrossSectionLink.Priority,
PriorityType>
-