Class DateXmlAdapter

java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<String,LocalDate>
no.digipost.api.client.representations.xml.DateXmlAdapter

public class DateXmlAdapter extends jakarta.xml.bind.annotation.adapters.XmlAdapter<String,LocalDate>
  • Constructor Details

    • DateXmlAdapter

      public DateXmlAdapter()
  • Method Details

    • marshal

      public String marshal(LocalDate date)
      Specified by:
      marshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<String,LocalDate>
    • unmarshal

      public LocalDate unmarshal(String value)
      Specified by:
      unmarshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<String,LocalDate>