Package nl.vpro.xml.bind
Class DefaultDurationXmlAdapter
-
public class DefaultDurationXmlAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<String,Duration>
This simpler version ofDurationXmlAdapter
simply usesDuration.toString()
https://bugs.openjdk.java.net/browse/JDK-8042456- Since:
- 0.36
- Author:
- Michiel Meeuwissen
-
-
Constructor Summary
Constructors Constructor Description DefaultDurationXmlAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
marshal(Duration value)
Duration
unmarshal(String stringValue)
-