public class InstantXmlAdapter
extends jakarta.xml.bind.annotation.adapters.XmlAdapter<String,Instant>
JAXB adapter that maps
Instant to/from an ISO-8601 string.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
InstantXmlAdapter
public InstantXmlAdapter()
-
Method Details
-
unmarshal
- Specified by:
unmarshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<String,Instant>
-
marshal
- Specified by:
marshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<String,Instant>