Save This Page
Home » dom4j-1.6.1 » org.dom4j.jaxb » [javadoc | source]
org.dom4j.jaxb
public interface: JAXBObjectModifier [javadoc | source]

All Known Implementing Classes:
    PurchaseOrderDateModifier

JAXBObjectHandler implementations can be registered with the JAXBModifier in order to change unmarshalled XML fragments.
Method from org.dom4j.jaxb.JAXBObjectModifier Summary:
modifyObject
Method from org.dom4j.jaxb.JAXBObjectModifier Detail:
 public Element modifyObject(Element jaxbElement) throws Exception
    Called when the 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.
    The modified JAXB element that returns from this method will be marshalled by the JAXBModifier and put in the DOM4J tree.