Package ru.bitel.common.xml
Class JAXBUtils.LocalDateAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.LocalDate>
ru.bitel.common.xml.JAXBUtils.LocalDateAdapter
- Enclosing class:
- JAXBUtils
public static class JAXBUtils.LocalDateAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.LocalDate>
-
Constructor Summary
Constructors Constructor Description LocalDateAdapter()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LocalDateAdapter
public LocalDateAdapter()
-
-
Method Details
-
marshal
public java.lang.String marshal(java.time.LocalDate v) throws java.lang.Exception- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.LocalDate>
- Throws:
java.lang.Exception
-
unmarshal
public java.time.LocalDate unmarshal(java.lang.String v) throws java.lang.Exception- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.LocalDate>
- Throws:
java.lang.Exception
-