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
ElementModifierElementor null if it has to be removed from the
document. Elementis disconnected from the DOM4J
tree. This means that navigation to the elements parent Element and Documentare not available. Only
the element itself can be modified!modifyElement in interface ElementModifierelement - Elementto be parsedElementjava.lang.Exception - of any kind