Simplify the XML document handler programs of XML SAX parser
Original Publication Date: 2003-Oct-20
Included in the Prior Art Database: 2003-Oct-20
This paper discloses a design technique aimed to improve the modularity, readability and maintainability of XML SAX parser programs in Java; in particular, it addresses the structure of the SAX document handler programs when parsing an XML file. A modularized design is proposed in order to simplify the programming task. The related technical details are presented which exploit the Java Reflection API, and some refinements to the technique are also presented in order to improve its flexibility.