Package de.consist.bmu.rule.def
Class XmlDateAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
-
- de.consist.bmu.rule.def.XmlDateAdapter
-
public class XmlDateAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
Adapter fuer die Konvertierung von Date nach xs:Date.
-
-
Constructor Summary
Constructors Constructor Description XmlDateAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
marshal(java.util.Date date)
java.util.Date
unmarshal(java.lang.String date)
-
-
-
Method Detail
-
unmarshal
public final java.util.Date unmarshal(java.lang.String date) throws java.lang.Exception
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
- Throws:
java.lang.Exception
-
marshal
public final java.lang.String marshal(java.util.Date date) throws java.lang.Exception
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
- Throws:
java.lang.Exception
-
-