Package org.dom4j.jaxb
Interface JAXBObjectHandler
-
public interface JAXBObjectHandler
JAXBObjectHandler implementations can be registered with the JAXB Reader in order to receive unmarshalled XML fragments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleObject(javax.xml.bind.Element jaxbElement)
Called when theJAXBReader
has finished parsing the xml path the handler was registered for.
-
-
-
Method Detail
-
handleObject
void handleObject(javax.xml.bind.Element jaxbElement) throws java.lang.Exception
Called when theJAXBReader
has 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
-
-