SAX (Simple API for XML) is a serial access parser API for XML. SAX provides a mechanism for reading data from an XML document.

## Package Specification

A parser which implements SAX (ie, a SAX Parser) functions as a stream parser, with an event-driven API. `// encode EXIResult saxResult = new EXIResult( ... ); XMLReader parser = XMLReaderFactory.createXMLReader(); parser.setContentHandler( saxResult.getHandler() ); parser.parse( ... ); // decode EXISource saxSource = new EXISource(); XMLReader xmlReader = saxSource.getXMLReader(); xmlReader.setContentHandler ( ... ); InputSource is = new InputSource( ... ); xmlReader.parse ( is );`

## Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see:

- SAX homepage