O'Reilly logo

Special Edition Using XML, Second Edition by - et al. David Gulbransen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required