Project 1 - Phase 2
Self-generating Code
- Motivation
- The code generator's output is a class hierarchy that is both
validated and easier to use than the generic XMLNode class.
- The type description (input to the code generator) is an XML
document that fits a certain DTD, and needs to be validated and
traversed.
- Therefore, we chose to use generated code for the TYPE dtd as input
into the code generator.
- Advantages
- Gaurantees that our interface works.
- Automatic feature gain.
- Easily expanded functionality.
- Diagram