Package org.opentrafficsim.xml.bindings

Converters for different XML formats.

Copyright (c) 2003-2018 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
Author:
Alexander Verbraeck
  • Class Summary 
    Class Description
    AccelerationAdapter
    AccelerationAdapter converts between the XML String for an Acceleration and the DJUnits Acceleration.
    AngleAdapter
    AngleAdapter converts between the XML String for an Angle and the DJUnits Angle.
    ClassNameAdapter
    ClassNameAdapter converts between the XML String for a class name and the Class object.
    ColorAdapter
    ColorAdapter to convert between Color and a String representation of the Color.
    CoordinateAdapter
    CoordinateAdapter converts between the XML String for a coordinate and a Point3d.
    CoordinateListAdapter
    CoordinateListAdapter converts between the XML String for a list of coordinates and a List of Point3d coordinates.
    DirectionAdapter
    DirectionAdapter converts between the XML String for an Direction and the DJUnits Direction.
    DrivingDirectionAdapter
    DrivingDirectionAdapter to convert between XML representations of a driving direction, and an enum type.
    DurationAdapter
    DurationAdapter converts between the XML String for a Duration and the DJUnits Duration.
    FractionAdapter
    FractionAdapter to convert fractions as a number between 0.0 and 1.0, or as a percentage between 0% and 100%.
    FrequencyAdapter
    FrequencyAdapter converts between the XML String for a Frequency and the DJUnits Frequency.
    GTUPositionAdapter
    GTUPositionAdapter to convert between XML representations of a reference point on a GTU, coded as FRONT, REAR and REFERENCE, and an enum type.
    LaneKeepingAdapter
    LaneKeepingAdapter to convert between XML representations of LaneKeeping and an enum type.
    LeftRightAdapter
    LeftRightAdapter to convert between XML representations of an arc direction, coded as L | LEFT | R | RIGHT | CLOCKWISE | COUNTERCLOCKWISE, and an enum type.
    LengthAdapter
    SignedLengthAdapter converts between the XML String for a Length and the DJUnits Length.
    LengthBeginEndAdapter
    LengthAdapter converts between the XML String for a Length and the DJUnits Length.
    LinearDensityAdapter
    LinearDensityAdapter converts between the XML String for a LinearDensity and the DJUnits LinearDensity.
    PerLengthAdapter
    PerLengthAdapter converts between the XML String for a LinearDensity and the DJUnits LinearDensity.
    PositiveLengthAdapter
    LengthAdapter converts between the XML String for a Length and the DJUnits Length.
    SpeedAdapter
    SpeedAdapter converts between the XML String for a Speed and the DJUnits Speed.
    StaticFieldNameAdapter
    StaticFieldNameAdapter converts between the XML String for a class name and the Class object.
    StripeTypeAdapter
    StripeType to convert between XML representations of a stripe type and its enum type.
    TimeAdapter
    TimeAdapter converts between the XML String for a Time and the DJUnits Time.
    UnitAdapter<S extends DoubleScalarInterface<?,​S>>
    UnitAdapter is the generic class for all Unit-based XML-adapters.