|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
---|---|
void |
onEnd(ElementPath elementPath)
Called by an event based processor when an elements closing tag is encountered. |
void |
onStart(ElementPath elementPath)
Called by an event based processor when an elements openning tag is encountered. |
Method Detail |
---|
void onStart(ElementPath elementPath)
elementPath
- is the current ElementPath
to processvoid onEnd(ElementPath elementPath)
elementPath
- is the current ElementPath
to process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |