Package org.opentrafficsim.xml.bindings
package org.opentrafficsim.xml.bindings
Converters for different XML types and elements.
Copyright (c) 2013-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, Wouter Schakel
-
ClassDescriptionAccelerationAdapter converts between the XML String for an Acceleration and the DJUnits Acceleration.Adapter for AccelerationUnit expression type.AngleAdapter converts between the XML String for a Angle and the DJUnits Angle.Adapter for Anticipation expression type.ArcDirectionAdapter to convert between XML representations of an arc direction, coded as L | LEFT | R | RIGHT | CLOCKWISE | COUNTERCLOCKWISE, and an enum type.Adapter for Boolean expression type.ClassAdapter 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.Adapter for Cooperation expression type.DirectionAdapter converts between the XML String for an Direction and the DJUnits Direction.Adapter for Double expression type.Adapter for Double expression type (positive).Adapter for Double expression type (positive).Adapter for Double expression type (unit interval).DurationAdapter converts between the XML String for a Duration and the DJUnits Duration.Adapter for DurationUnit expression type.Adapter for Encoding expression type.Adapter for Estimation expression type.ExpressionAdapter<T,
E extends ExpressionType<T>> Super class for adapters of expression types.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.Adapter for FrequencyUnit expression type.Adapter for GapAcceptance expression type.Adapter for GraphicsType expression type.Adapter for GtuPosition expression type.Adapter for HeadwayDistribution expression type.Adapter for Integer expression type.Adapter for Interpolation expression type.LaneKeepingAdapter to convert between XML representations of LaneKeeping and an enum type.LengthAdapter 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.Adapter for LengthUnit expression type.LinearDensityAdapter converts between the XML String for a LinearDensity and the DJUnits LinearDensity.Adapter for LinearDensityUnit expression type.Adapter for Long expression type.Point2dAdapter converts between the XML String for a coordinate and a Point2d.DurationAdapter converts between the XML String for a Duration and the DJUnits Duration (positive).Adapter for positive factors.Adapter for Integer expression type (positive).LengthAdapter converts between the XML String for a Length and the DJUnits Length (positive).TimeAdapter converts between the XML String for a Time and the DJUnits Time (positive).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.ScalarAdapter<S extends org.djunits.value.vdouble.scalar.base.DoubleScalar<?,S>, E extends ExpressionType<S>> ScalarAdapter is the generic class for all Unit-based XML-adapters.Adapter for String expression type (space, i.e.SpeedAdapter converts between the XML String for a Speed and the DJUnits Speed.Adapter for SpeedUnit expression type.StaticFieldAdapter<T,E extends ExpressionType<T>> Superclass for adapters that parse types using static fields, including enums.StaticFieldNameAdapter converts between the XML String for a class name and the Class object.Adapter for String expression type.StripeTypeAdapter to convert between XML representations of a stripe type and its enum type.Adapter for Synchronization expression type.Adapter for Tailgating expression type.TimeAdapter converts between the XML String for a Time and the DJUnits Time.