All Packages Class Hierarchy This Package Previous Next Index
Listener interface for the notification of events which occur during the processing of an XML source. Its main purpose is to facilitate observation of the progress of the parse (eg. by displaying it in a progress bar), rather than for the triggering of serious processing (which is what SAX does); any such processing should be done by the xg-derived nodes which are created in any case.
It is similar in certain respects to the SAX DocumentHandler interface, although it is invoked at a somewhat different level in the parse process. SAX is a low-level parse driver and invokes DocumentHandler when content needs to be process, whereas xm_ParseListener is invoked after the fact, assuming that xm has handled all the main processing.
References to SAX relate to the 12Jan98 version of the SAX specification.
public abstract void startNode(xg_Node InputNewNode, int InputStartPosition)
public abstract void endNode(xg_Node InputNewNode, int InputEndPosition)
public abstract void endParseSuccessful()
public abstract void endParseUnsuccessful()
All Packages Class Hierarchy This Package Previous Next Index