Table of Contents

About

The Simple API for XML (SAX) is the event-driven, serial-access mechanism of Jaxp that does element-by-element processing.

Setting up a program to use SAX requires a bit more work than setting up to use the Document Object Model (DOM).

You cannot go back to an earlier position or leap ahead to a different position.

Package

  • Entry Point: SAXParserFactory gives a SAXParser where we can play with the document.
  • org.xml.sax: Defines the basic Sax APIs.

Jaxpintro Saxapi

Documentation / Reference