public class DoubleAdapter
extends jakarta.xml.bind.annotation.adapters.XmlAdapter<String,Double>
The Class DoubleAdapter.
-
Constructor Summary
Constructors
-
Method Summary
Unmarshal a string to a double.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DoubleAdapter
public DoubleAdapter()
-
Method Details
-
marshal
Marshal a double.
- Specified by:
marshal
in class jakarta.xml.bind.annotation.adapters.XmlAdapter<String,Double>
- Parameters:
v
- the double to be marshalled
- Returns:
- the marshaling
-
unmarshal
Unmarshal a string to a double.
- Specified by:
unmarshal
in class jakarta.xml.bind.annotation.adapters.XmlAdapter<String,Double>
- Parameters:
v
- the String to be unmarshalled.
- Returns:
- the double, result of unmarshalling.