Package org.opentrafficsim.xml.bindings
Class LinearDensityAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,E>
org.opentrafficsim.xml.bindings.ExpressionAdapter<S,E>
org.opentrafficsim.xml.bindings.ScalarAdapter<org.djunits.value.vdouble.scalar.LinearDensity,LinearDensityType>
org.opentrafficsim.xml.bindings.LinearDensityAdapter
public class LinearDensityAdapter
extends ScalarAdapter<org.djunits.value.vdouble.scalar.LinearDensity,LinearDensityType>
LinearDensityAdapter converts between the XML String for a LinearDensity and the DJUnits LinearDensity.
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
-
Constructor Summary
-
Method Summary
Methods inherited from class org.opentrafficsim.xml.bindings.ScalarAdapter
marshal
Methods inherited from class org.opentrafficsim.xml.bindings.ExpressionAdapter
isExpression, marshal, trimBrackets
-
Constructor Details
-
LinearDensityAdapter
public LinearDensityAdapter()
-
-
Method Details
-
unmarshal
- Specified by:
unmarshal
in classExpressionAdapter<org.djunits.value.vdouble.scalar.LinearDensity,
LinearDensityType>
-