Processing XML with Javaв„ў: A Guide to SAX, DOM, JDOM, JAXP, and TrAX

At its core , SAX, the Simple API for XML, is based on just two interfaces: the XMLReader interface that represents the parser, and the ContentHandler interface which receives data from the parser. These two interfaces alone suffice for 90 percent of what you need to do with SAX. This chapter shows the basic operation of XMLReader and discusses ContentHandler in detail. Chapter 7 explores a variety of ways to customize the parsing process through the more advanced features of the XMLReader interface.

Категории