Interface JAXBObjectHandler


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

    Modifier and Type
    Method
    Description
    void
    handleObject(Element jaxbElement)
    Called when the JAXBReaderhas finished parsing the xml path the handler was registered for.
  • Method Details

    • handleObject

      void handleObject(Element jaxbElement) throws 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:
      Exception - of any kind, thrown by the implementation