swan is a suite of Java-based tools for working with XML. The focus is on a hybridized model that blends pattern-based and event-based
models for XML processing, as well as supporting the leading tree-based models (DOM, JDOM, dom4j, XOM, etc.).
The SAXAdapter is a utility that builds on the SAX interface and simplifies the use of SAX while preserving its efficiency and power. With SAXAdapter, SAX truly becomes a simple API with less of a learning curve than the tree-based APIs such as DOM
This package provides an acceptable middle ground between
SAX and DOM techniques for parsing XML. It provides
DOM events in a SAX-like manner. Thus, the application
can handle elements without storing the entire DOMtree
in memory.