Class JaxbClassObjectAdapter

  • Direct Known Subclasses:
    PollerClassObjectAdapter

    public class JaxbClassObjectAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,​java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getClassForElement​(java.lang.String nodeName)  
      java.lang.Object marshal​(java.lang.Object from)  
      java.lang.Object unmarshal​(java.lang.Object from)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JaxbClassObjectAdapter

        public JaxbClassObjectAdapter()
      • JaxbClassObjectAdapter

        public JaxbClassObjectAdapter​(java.lang.Class<?>... clazzes)
    • Method Detail

      • unmarshal

        public java.lang.Object unmarshal​(java.lang.Object from)
                                   throws java.lang.Exception
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,​java.lang.Object>
        Throws:
        java.lang.Exception
      • marshal

        public java.lang.Object marshal​(java.lang.Object from)
                                 throws java.lang.Exception
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,​java.lang.Object>
        Throws:
        java.lang.Exception
      • getClassForElement

        public java.lang.Class<?> getClassForElement​(java.lang.String nodeName)