Class DateXmlAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.LocalDate>
-
- no.digipost.api.client.representations.xml.DateXmlAdapter
-
public class DateXmlAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.LocalDate>
-
-
Constructor Summary
Constructors Constructor Description DateXmlAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
marshal(java.time.LocalDate date)
java.time.LocalDate
unmarshal(java.lang.String value)
-
-
-
Method Detail
-
marshal
public java.lang.String marshal(java.time.LocalDate date)
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.LocalDate>
-
unmarshal
public java.time.LocalDate unmarshal(java.lang.String value)
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.LocalDate>
-
-