Interface ElementHandler
- All Known Implementing Classes:
DispatchHandler, JAXBReader.PruningElementHandler, JAXBReader.UnmarshalElementHandler, PruningDispatchHandler, SAXModifyElementHandler
public interface ElementHandler
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.- Version:
- $Revision: 1.8 $
-
Method Summary
Modifier and TypeMethodDescriptionvoidonEnd(ElementPath elementPath) Called by an event based processor when an elements closing tag is encountered.voidonStart(ElementPath elementPath) Called by an event based processor when an elements openning tag is encountered.
-
Method Details
-
onStart
Called by an event based processor when an elements openning tag is encountered.- Parameters:
elementPath- is the currentElementPathto process
-
onEnd
Called by an event based processor when an elements closing tag is encountered.- Parameters:
elementPath- is the currentElementPathto process
-