org.dom4j.io
Interface ElementModifier
public
interface
ElementModifier
ElementModifier defines a modifier of {@link org.dom4j.Element}objects.
It can be used in the event based {@link org.dom4j.io.SAXModifier}, in order
to modify elements on the fly, rather than waiting until the complete
document is parsed.
Author: Wonne Keysers (Realsoftware.be)
Called by an event based processor when an elements closing tag is
encountered. This method must return the modified version of the provided
{@link org.dom4j.Element}or null if it has to be removed from the
document.
The incoming {@link org.dom4j.Element}is disconnected from the DOM4J
tree. This means that navigation to the elements parent {@link
org.dom4j.Element} and {@link org.dom4j.Document}are not available. Only
the element itself can be modified!
Parameters: element
{@link org.dom4j.Element}to be parsed
Returns: the modified {@link org.dom4j.Element}
Throws: Exception
of any kind
Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by
SourceForge