Top Description Methods
org.dom4j

public Interface ElementHandler

Known Direct Implementers
org.dom4j.io.DispatchHandler, org.dom4j.io.SAXModifyElementHandler, org.dom4j.jaxb.JAXBReader.UnmarshalElementHandler, org.dom4j.jaxb.JAXBReader.PruningElementHandler
Annotations
@SuppressWarnings:unused

ElementHandler interface defines a handler of Element objects. It is used primarily in event based processing models such as for processing large XML documents as they are being parsed rather than waiting until the whole document is parsed.
Author
James Strachan
Version
$Revision: 1.8 $

Method Summary

Modifier and TypeMethod and Description
public void
onEnd(ElementPath
is the current ElementPath to process
elementPath
)

Called by an event based processor when an elements closing tag is encountered.

public void
onStart(ElementPath
is the current ElementPath to process
elementPath
)

Called by an event based processor when an elements openning tag is encountered.

Method Detail

onEndback to summary
public void onEnd(ElementPath elementPath)

Called by an event based processor when an elements closing tag is encountered.

Parameters
elementPath:ElementPath

is the current ElementPath to process

onStartback to summary
public void onStart(ElementPath elementPath)

Called by an event based processor when an elements openning tag is encountered.

Parameters
elementPath:ElementPath

is the current ElementPath to process