com.sun.xml.bind
Class AnyTypeAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<Object,Object>
      extended by 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

Constructor Summary
AnyTypeAdapter()
           
 
Method Summary
 Object marshal(Object v)
          Noop.
 Object unmarshal(Object v)
          Noop.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnyTypeAdapter

public AnyTypeAdapter()
Method Detail

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>