Chapter 6. SAX


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.



Processing XML with Java. A Guide to SAX, DOM, JDOM, JAXP, and TrAX
Processing XML with Javaв„ў: A Guide to SAX, DOM, JDOM, JAXP, and TrAX
ISBN: 0201771861
EAN: 2147483647
Year: 2001
Pages: 191

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net