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:ElementModifier
Called by an event based processor when an elements closing tag is encountered. This method must return the modified version of the providedElement
or null if it has to be removed from the document.
The incomingElement
is disconnected from the DOM4J tree. This means that navigation to the elements parentElement
andDocument
are not available. Only the element itself can be modified!- Specified by:
modifyElement
in interfaceElementModifier
- Parameters:
element
-Element
to be parsed- Returns:
- the modified
Element
- Throws:
Exception
- of any kind
-