Class AnyTypeAdapter


  • public final class AnyTypeAdapter
    extends jakarta.xml.bind.annotation.adapters.XmlAdapter<Object,​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 Detail

      • AnyTypeAdapter

        public AnyTypeAdapter()
        Default constructor.
    • Method Detail

      • unmarshal

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

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