Overview

XmlIO is a framework that will parse XML using SAX and will create Java objects and call setter methods of those objects. The framework will also take a graph of objects which have a single root object and will serialize the graph into a String of XML.

So as to not constrain the names used for either the XML tags or the Java objects and methods, the framework supports the concept of mapping from a particular name in the XML to a particular name in Java.

Finally, to prevent name ambiguity in both XML and Java objects, the framework will support namespaces and packages.

Thanks

My thanks go out to Robert Preduta who took some code that I wrote for reading an XML config file into a simple Java object graph and created a framework out of it. The idea of a setter being named after the superclss of an object was his as was his thoughts on processing a file that resulted in a 'deep' object graph. Version 1.0 of this framework added XML writing and expanded the work he began. Version 1.3 has seen very significant changes in how things work in addition to a host of new functionality.