Class JAXBModifier.JAXBElementModifier
java.lang.Object
org.dom4j.jaxb.JAXBModifier.JAXBElementModifier
- All Implemented Interfaces:
ElementModifier
- Enclosing class:
JAXBModifier
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJAXBElementModifier(JAXBModifier jaxbModifier, JAXBObjectModifier objectModifier) -
Method Summary
Modifier and TypeMethodDescriptionmodifyElement(Element element) Called by an event based processor when an elements closing tag is encountered.
-
Field Details
-
jaxbModifier
-
objectModifier
-
-
Constructor Details
-
JAXBElementModifier
-
-
Method Details
-
modifyElement
Description copied from interface:ElementModifierCalled by an event based processor when an elements closing tag is encountered. This method must return the modified version of the providedElementor null if it has to be removed from the document.
The incomingElementis disconnected from the DOM4J tree. This means that navigation to the elements parentElementandDocumentare not available. Only the element itself can be modified!- Specified by:
modifyElementin interfaceElementModifier- Parameters:
element-Elementto be parsed- Returns:
- the modified
Element - Throws:
Exception- of any kind
-