Class DateAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
-
- org.apache.manifoldcf.crawler.connectors.generic.api.DateAdapter
-
public class DateAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>- Author:
- krycek
-
-
Constructor Summary
Constructors Constructor Description DateAdapter()
-
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
-
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
-
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
-
-