SAX API

SAX is a simple, event-based application programming interface (API) for XML parsers that was developed by a group of developers who subscribe to the xml-dev mailing list. David Megginson (http://www.megginson.com) spearheaded the effort, gained consensus on design, and wrote the code. The API makes extensive use of Java interfaces as registered callbacks to an XML parser supplied by a third party. The SAX interface is event-based in that it transforms the parsing of an XML document into the invocation (or firing) of a specific method (the type of event) with its associated parameters (the specific state of the event). So an event has two components: a name (the method name) and an associated state (the method parameters)

Note

To subscribe ...

Get XML Development with Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.