Interface JAXBObjectHandler


  • public interface JAXBObjectHandler
    JAXBObjectHandler implementations can be registered with the JAXB Reader in order to receive unmarshalled XML fragments.
    • Method Detail

      • handleObject

        void handleObject​(javax.xml.bind.Element jaxbElement)
                   throws java.lang.Exception
        Called when the JAXBReaderhas finished parsing the xml path the handler was registered for. The provided object is the unmarshalled representation of the XML path. It can be casted to the appropriate implementation class that is generated by the JAXB compiler.
        Parameters:
        jaxbElement - the unmarshalled JAXB object to handle
        Throws:
        java.lang.Exception - of any kind, thrown by the implementation