December 1999
Intermediate to advanced
992 pages
22h 3m
English
The SAX 1.0 package has less than a dozen interfaces and classes. They're not hard to learn. Although there are a few advanced APIs that are not often used, most of the interfaces are used regularly. This section focuses on a subset of the basic APIs that suffices to get most work done with SAX. That subset, about half a dozen calls, is enough to let you write useful SAX applications. You'll use the parser and add some callback handlers as you subclass HandlerBase.
There are two ways to tell a parser to parse a document. First you'll look at the most widely used one, passing a URI to the parser, which you saw briefly in Chapter 13. Then you'll look at the other one (useful for parsing data ...
Read now
Unlock full access