Package org.opentrafficsim.xml.bindings
package org.opentrafficsim.xml.bindings
Converters for different XML formats.
Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck
-
ClassesClassDescriptionAccelerationAdapter converts between the XML String for an Acceleration and the DJUnits Acceleration.AngleAdapter converts between the XML String for an Angle and the DJUnits Angle.ClassNameAdapter converts between the XML String for a class name and the Class object.ColorAdapter to convert between Color and a String representation of the Color.CoordinateAdapter converts between the XML String for a coordinate and a Point3d.CoordinateListAdapter converts between the XML String for a list of coordinates and a List of Point3d coordinates.DirectionAdapter converts between the XML String for an Direction and the DJUnits Direction.DurationAdapter converts between the XML String for a Duration and the DJUnits Duration.FractionAdapter to convert fractions as a number between 0.0 and 1.0, or as a percentage between 0% and 100%.FrequencyAdapter converts between the XML String for a Frequency and the DJUnits Frequency.GTUPositionAdapter to convert between XML representations of a reference point on a GTU, coded as FRONT, REAR and REFERENCE, and an enum type.LaneKeepingAdapter to convert between XML representations of LaneKeeping and an enum type.LeftRightAdapter to convert between XML representations of an arc direction, coded as L | LEFT | R | RIGHT | CLOCKWISE | COUNTERCLOCKWISE, and an enum type.SignedLengthAdapter converts between the XML String for a Length and the DJUnits Length.LengthAdapter converts between the XML String for a Length and the DJUnits Length.LinearDensityAdapter converts between the XML String for a LinearDensity and the DJUnits LinearDensity.PerLengthAdapter converts between the XML String for a LinearDensity and the DJUnits LinearDensity.LengthAdapter converts between the XML String for a Length and the DJUnits Length.SpeedAdapter converts between the XML String for a Speed and the DJUnits Speed.StaticFieldNameAdapter converts between the XML String for a class name and the Class object.StripeType to convert between XML representations of a stripe type and its enum type.TimeAdapter converts between the XML String for a Time and the DJUnits Time.UnitAdapter is the generic class for all Unit-based XML-adapters.