XMLIO is a low level library to assist you in the straight forward process of importing and exporting XML from and to your Java applications. All of this has been designed having performance and simplicity in mind. No magic is involved. Additionally, it is very lightweight and has exactly no dependencies on any other libraries.
XMLIO consists of three parts:
XMLIO's main part - SimpleImporter - is a simple and fast importer for XML.
It is based on SAX and can be considered an extension to it. This means it is callback oriented and does not build an internal data structure like the DOM. No data access objects (DAO) will be created either. This means it is no XML->Java Object Mapper, but rahter a XML->Generic Mehtod Mapper (if there was anything like this). You could easily use the simply importer without a single dynamic construction of a class.
Comparing it to Commons Digester the simple importer is much more low level and much more simplistic. Beside SimpleImporter you will only need to know the call back interface .
While preserving all benefits of SAX - among them performance, simplicity and general usability - the simple importer adds more high level means to SAX's rudimentary features. These are the main extensions:
You can write your data into a formatted XML writer. Formatting and encoding is done as straight forward as possible. Everything you know better than this class must be done by you. In effect, no unexpected so called intelligent behavior or magic is to be feared. Another effect is high speed and simplicity.
Set of methods to encode and decode characters special to XML like (& and < and " and ').
See the downloads page for information on obtaining releases.
The JavaDoc API documents are available online.
For an easy overview there is a class diagram for the input part and one for the output part in PDF format.