Package org.opentrafficsim.xml.bindings
Class ScalarAdapter<S extends org.djunits.value.vdouble.scalar.base.DoubleScalar<?,S>,E extends ExpressionType<S>>
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,E>
org.opentrafficsim.xml.bindings.ExpressionAdapter<S,E>
org.opentrafficsim.xml.bindings.ScalarAdapter<S,E>
- Type Parameters:
S- unit typeE- expression type
- Direct Known Subclasses:
AccelerationAdapter,AngleAdapter,DirectionAdapter,DurationAdapter,FrequencyAdapter,LengthAdapter,LinearDensityAdapter,PositiveDurationAdapter,PositiveLengthAdapter,PositiveTimeAdapter,SpeedAdapter,TimeAdapter
public abstract class ScalarAdapter<S extends org.djunits.value.vdouble.scalar.base.DoubleScalar<?,S>,E extends ExpressionType<S>>
extends ExpressionAdapter<S,E>
ScalarAdapter is the generic class for all Unit-based XML-adapters.
Copyright (c) 2019-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
- Author:
- Alexander Verbraeck, Wouter Schakel
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opentrafficsim.xml.bindings.ExpressionAdapter
isExpression, marshal, trimBrackets, unmarshal
-
Constructor Details
-
ScalarAdapter
public ScalarAdapter()
-
-
Method Details
-
marshal
- Overrides:
marshalin classExpressionAdapter<S extends org.djunits.value.vdouble.scalar.base.DoubleScalar<?,S>, E extends ExpressionType<S>>
-