Package org.opentrafficsim.xml.bindings
Class PositiveIntegerAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,E>
org.opentrafficsim.xml.bindings.ExpressionAdapter<Integer,IntegerType>
org.opentrafficsim.xml.bindings.PositiveIntegerAdapter
Adapter for Integer expression type (positive).
Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Wouter Schakel
-
Constructor Summary
-
Method Summary
Methods inherited from class org.opentrafficsim.xml.bindings.ExpressionAdapter
isExpression, marshal, trimBrackets
-
Constructor Details
-
PositiveIntegerAdapter
public PositiveIntegerAdapter()
-
-
Method Details
-
unmarshal
- Specified by:
unmarshal
in classExpressionAdapter<Integer,
IntegerType>
-
marshal
- Overrides:
marshal
in classExpressionAdapter<Integer,
IntegerType>
-