Class ObjectAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,java.lang.Object>
-
- com.attivio.util.serialization.jaxb.ObjectAdapter
-
public class ObjectAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,java.lang.Object>Maps any object to itself. Useful for mapping interfaces.
-
-
Constructor Summary
Constructors Constructor Description ObjectAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectmarshal(java.lang.Object v)java.lang.Objectunmarshal(java.lang.Object v)
-
-
-
Method Detail
-
marshal
public java.lang.Object marshal(java.lang.Object v) throws java.lang.Exception- Specified by:
marshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,java.lang.Object>- Throws:
java.lang.Exception
-
unmarshal
public java.lang.Object unmarshal(java.lang.Object v) throws java.lang.Exception- Specified by:
unmarshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,java.lang.Object>- Throws:
java.lang.Exception
-
-