public interface ElementModifier
Element
objects. SAXModifier
, in order
to modify elements on the fly, rather than waiting until the complete
document is parsed.Modifier and Type | Method and Description |
---|---|
Element |
modifyElement(Element element)
Called by an event based processor when an elements closing tag is
encountered.
|
Element modifyElement(Element element) throws java.lang.Exception
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!