com.sun.xml.bind
Class AnyTypeAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<Object,Object>
com.sun.xml.bind.AnyTypeAdapter
public final class AnyTypeAdapter
- extends XmlAdapter<Object,Object>
XmlAdapter
useful for mapping interfaces.
See The JAXB user's guide
for more about this adapter class.
- Since:
- JAXB 2.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnyTypeAdapter
public AnyTypeAdapter()
unmarshal
public Object unmarshal(Object v)
- Noop. Just returns the object given as the argument.
- Specified by:
unmarshal
in class XmlAdapter<Object,Object>
marshal
public Object marshal(Object v)
- Noop. Just returns the object given as the argument.
- Specified by:
marshal
in class XmlAdapter<Object,Object>