http://en.wikipedia.org/wiki/UXF Parser. Parse an UML style file into java src code.