Class JaxbUnknownAdapter


  • public class JaxbUnknownAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,​java.lang.Object>
    Do not return an instance of Arrays.asList() -- that implementation is *not* modifiable! 7.0 plans: - move this at least to kie-internal - use JaxbObjectObjectPair instead of JaxbStringObjectPair for maps
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object marshal​(java.lang.Object o)  
      java.lang.Object recursiveUnmarhsal​(java.lang.Object o)  
      java.lang.Object unmarshal​(java.lang.Object o)  
      • Methods inherited from class java.lang.Object

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

      • JaxbUnknownAdapter

        public JaxbUnknownAdapter()
    • Method Detail

      • marshal

        public java.lang.Object marshal​(java.lang.Object o)
                                 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
      • unmarshal

        public java.lang.Object unmarshal​(java.lang.Object o)
                                   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
      • recursiveUnmarhsal

        public java.lang.Object recursiveUnmarhsal​(java.lang.Object o)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception