Class CometFrameInfoDateAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
-
- com.priint.pubserver.comet.bridge.frameinfo.CometFrameInfoDateAdapter
-
public class CometFrameInfoDateAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>The type Comet frame info date adapter.
Converts date to/from aStringusing a specific format.
-
-
Constructor Summary
Constructors Constructor Description CometFrameInfoDateAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringmarshal(java.util.Date v)java.util.Dateunmarshal(java.lang.String v)
-
-
-
Method Detail
-
marshal
public java.lang.String marshal(java.util.Date v) throws java.lang.Exception- Specified by:
marshalin 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:
unmarshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>- Throws:
java.lang.Exception
-
-