private class JAXBModifier.JAXBElementModifier extends java.lang.Object implements ElementModifier
Modifier and Type | Field and Description |
---|---|
private JAXBModifier |
jaxbModifier |
private JAXBObjectModifier |
objectModifier |
Constructor and Description |
---|
JAXBElementModifier(JAXBModifier jaxbModifier,
JAXBObjectModifier objectModifier) |
Modifier and Type | Method and Description |
---|---|
Element |
modifyElement(Element element)
Called by an event based processor when an elements closing tag is
encountered.
|
private JAXBModifier jaxbModifier
private JAXBObjectModifier objectModifier
public JAXBElementModifier(JAXBModifier jaxbModifier, JAXBObjectModifier objectModifier)
public Element modifyElement(Element element) throws java.lang.Exception
ElementModifier
Element
or null if it has to be removed from the
document. Element
is disconnected from the DOM4J
tree. This means that navigation to the elements parent Element
and Document
are not available. Only
the element itself can be modified!modifyElement
in interface ElementModifier
element
- Element
to be parsedElement
java.lang.Exception
- of any kind