Class UnitAdapter<S extends DoubleScalarInterface<?,​S>>

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,​S>
org.opentrafficsim.xml.bindings.UnitAdapter<S>
Direct Known Subclasses:
AccelerationAdapter, AngleAdapter, DirectionAdapter, DurationAdapter, FrequencyAdapter, LengthAdapter, LinearDensityAdapter, PerLengthAdapter, PositiveLengthAdapter, SpeedAdapter, TimeAdapter

public abstract class UnitAdapter<S extends DoubleScalarInterface<?,​S>>
extends XmlAdapter<String,​S>
UnitAdapter is the generic class for all Unit-based XML-adapters.

Copyright (c) 2019-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.

Author:
Alexander Verbraeck