Java Interfaces and Classes
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:
org.xml.sax
org.xml.sax.helpers
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.
Core Interfaces
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 ...
Get Special Edition Using XML, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.