June 2004
Intermediate to advanced
1568 pages
30h 33m
English
The basic outline of the SAX parsing APIs is shown in Figure 4-1. To start the process, an instance of the SAXParserFactory class is used to generate an instance of the parser.

The parser wraps a SAXReader object. When the parser's parse() method is invoked, the reader invokes one of several callback methods implemented in the application. Those methods are defined by the interfaces ContentHandler, ErrorHandler, DTDHandler, and EntityResolver.
Here is a summary of the key SAX APIs:
SAXParserFactory
A SAXParserFactory object creates an instance of the parser determined by the system property, javax.xml.parsers.SAXParserFactory ...
Read now
Unlock full access