Class FractionAdapter

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,E>
org.opentrafficsim.xml.bindings.ExpressionAdapter<Double,DoubleType>
org.opentrafficsim.xml.bindings.FractionAdapter

public class FractionAdapter extends ExpressionAdapter<Double,DoubleType>
FractionAdapter to convert fractions as a number between 0.0 and 1.0, or as a percentage between 0% and 100%.

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