SAX Architecture |
|
In addition to the ContentHandler interface, the SAX API provides additional interfaces such as the SAXParserFactory interface. To parse an XML document using a SAX parser, the SAXParserFactory class is used to create an instance of the SAXParser class. The SAXParser class creates an instance of the SAXReader class. The SAXReader instance represents the SAX parser, which processes the XML document and generates events. To handle the events for applications, the SAX API contains the following event handlers:
|
![]() |
Click the Next button to continue. |