Class InstantNoOmmitMillisXmlAdapter

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,Instant>
nl.vpro.xml.bind.InstantNoOmmitMillisXmlAdapter

public class InstantNoOmmitMillisXmlAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<String,Instant>
Like InstantXmlAdapter, but never omit millis. So no need for the thread local
Since:
1.75
  • Constructor Details

    • InstantNoOmmitMillisXmlAdapter

      public InstantNoOmmitMillisXmlAdapter()
  • Method Details

    • unmarshal

      public Instant unmarshal(String dateValue)
      Specified by:
      unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Instant>
    • marshal

      public String marshal(Instant value)
      Specified by:
      marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Instant>