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