Package org.opentrafficsim.xml.bindings
Class UnitAdapter<S extends DoubleScalarInterface<?,S>>
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.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 javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,S>
UnitAdapter is the generic class for all Unit-based XML-adapters.
Copyright (c) 2019-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
- Author:
- Alexander Verbraeck
-
Constructor Summary
Constructors Constructor Description UnitAdapter()
-
Method Summary
-
Constructor Details
-
UnitAdapter
public UnitAdapter()
-
-
Method Details
-
marshal
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,S extends DoubleScalarInterface<?,S>>
-