package org.opentrafficsim.xml.bindings; import javax.xml.bind.annotation.adapters.XmlAdapter; import org.djunits.value.vdouble.scalar.base.DoubleScalarInterface; import org.djutils.exceptions.Throw; /** * UnitAdapter is the generic class for all Unit-based XML-adapters. *
* Copyright (c) 2019-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
* BSD-style license. See DJUNITS License.
*
* @author Alexander Verbraeck
*/
public abstract class UnitAdapter> extends XmlAdapter