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.
| Modifier and Type | Method and Description |
|---|---|
| public void | onEnd(ElementPath
is the current elementPath)ElementPath to processCalled by an event based processor when an elements closing tag is encountered. |
| public void | onStart(ElementPath
is the current elementPath)ElementPath to processCalled by an event based processor when an elements openning tag is encountered. |
| onEnd | back to summary |
|---|---|
| public void onEnd(ElementPath elementPath) Called by an event based processor when an elements closing tag is encountered.
| |
| onStart | back to summary |
|---|---|
| public void onStart(ElementPath elementPath) Called by an event based processor when an elements openning tag is encountered.
| |