Sam Eldin
Web Services New ToolŪ
Project Tool
- Demo
Home Data Objects Reflection & DOM XML Fields Database Tables Reflection & JAXP Utilities
Reflection & JAXP - Executive Summary
Reflection & SAXP Approach:
Our executive Reflection SAXP Approach - Executive Summary diagram shows the goal of our conversion of a XML Report (which is XML stream with XML tags) to Java beans:

Reflection SAXP Approach

To show the details of how our approach is done in Java using both Reflection and SAXP, we need to present the actual Java code. Our one-to-one conversion from MyFirstBeanXMLFileConversion.xml to MyFirstBean Class Data Objectis a good example of how we did the conversion. The code is actually is very simple and straight forward. The following links are the Java code for Java classes used to handle the conversions:

               Constants.java
               PrimitiveFieldTypeDataObject.java
               SAXParseDataObject.java
               FieldsParser.java
               SAXParse2MyFirstBean.java

Readers my request the code for the more complex beans conversion by emailing a request to:

Email: Sam@SamEldin.com