Class LocalDateTimeAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<String,LocalDateTime>
-
- net.sourceforge.jbizmo.commons.jaxb.LocalDateTimeAdapter
-
public class LocalDateTimeAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<String,LocalDateTime>
Adapter for binding fields of type
LocalDateTimeCopyright 2018 (C) by Martin Ganserer
- Version:
- 1.0.0
- Author:
- Martin Ganserer
-
-
Constructor Summary
Constructors Constructor Description LocalDateTimeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringmarshal(LocalDateTime value)LocalDateTimeunmarshal(String value)
-
-
-
Method Detail
-
unmarshal
public LocalDateTime unmarshal(String value) throws Exception
- Specified by:
unmarshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<String,LocalDateTime>- Throws:
Exception
-
marshal
public String marshal(LocalDateTime value) throws Exception
- Specified by:
marshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<String,LocalDateTime>- Throws:
Exception
-
-