Interface JAXBObjectHandler
public interface JAXBObjectHandler
JAXBObjectHandler implementations can be registered with the JAXB Reader in
order to receive unmarshalled XML fragments.
- Author:
- Wonne Keysers (Realsoftware.be)
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleObject(Element jaxbElement) Called when theJAXBReaderhas finished parsing the xml path the handler was registered for.
-
Method Details
-
handleObject
Called when theJAXBReaderhas 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
-