Class AnyTypeAdapter


  • public final class AnyTypeAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,​java.lang.Object>
    XmlAdapter useful for mapping interfaces. See The JAXB user's guide for more about this adapter class.
    Since:
    JAXB 2.1
    Author:
    Kohsuke Kawaguchi
    • Constructor Summary

      Constructors 
      Constructor Description
      AnyTypeAdapter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object marshal​(java.lang.Object v)
      Noop.
      java.lang.Object unmarshal​(java.lang.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 java.lang.Object unmarshal​(java.lang.Object v)
        Noop. Just returns the object given as the argument.
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,​java.lang.Object>
      • marshal

        public java.lang.Object marshal​(java.lang.Object v)
        Noop. Just returns the object given as the argument.
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,​java.lang.Object>