Class LocalDateTimeAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<String,LocalDateTime>
-
- io.inugami.commons.marshaling.jaxb.LocalDateTimeAdapter
-
- All Implemented Interfaces:
JaxbAdapterSpi
public class LocalDateTimeAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<String,LocalDateTime> implements JaxbAdapterSpi
-
-
Constructor Summary
Constructors Constructor Description LocalDateTimeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.bind.annotation.adapters.XmlAdapter<?,?>
getAdapter()
String
marshal(LocalDateTime value)
LocalDateTime
unmarshal(String value)
-
-
-
Method Detail
-
unmarshal
public LocalDateTime unmarshal(String value) throws Exception
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<String,LocalDateTime>
- Throws:
Exception
-
marshal
public String marshal(LocalDateTime value) throws Exception
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<String,LocalDateTime>
- Throws:
Exception
-
getAdapter
public javax.xml.bind.annotation.adapters.XmlAdapter<?,?> getAdapter()
- Specified by:
getAdapter
in interfaceJaxbAdapterSpi
-
-