Basically, any SAX-based XML processing application consists of two parts—a SAX parser and a set of handlers that should be implemented by a developer. Some helper classes also make life easier.
The core of SAX2 API contains two packages:
Some additional nonstandard features can be implemented in a standard way in the third package, org.xml.sax.ext, which is not a part of the SAX core.
We won't repeat the SAX 2 documentation, which is available for download on the official Web site of the project (see references at the end of the chapter).
Instead, we will discuss the steps that have to be taken and the classes that have to be implemented by developers of SAX-driven applications ...