public interface JAXBObjectModifier
JAXBModifier
in order to change unmarshalled XML fragments.Modifier and Type | Method and Description |
---|---|
javax.xml.bind.Element |
modifyObject(javax.xml.bind.Element jaxbElement)
Called when the
JAXBModifier has finished parsing the xml path
the handler was registered for. |
javax.xml.bind.Element modifyObject(javax.xml.bind.Element jaxbElement) throws java.lang.Exception
JAXBModifier
has finished parsing the xml path
the handler was registered for. The provided object is the unmarshalled
representation of the XML fragment. It can be casted to the appropriate
implementation class that is generated by the JAXB compiler. JAXBModifier
and put in the DOM4J tree.jaxbElement
- the JAXB object to be modifiedjava.lang.Exception
- possibly thrown by the implementation.