I am developing a UML Modeling tool just like Visual Paradigm or Rational Rose. I am developing it in Java. I am currently working on its Visualization Environment but will soon be working on generating XMI (XML Metadata Interchange) from the diagrams drawn in the environment. I was seeking any API/Library in Java that could generate XMI. And also if there is any library that could take XMI as an input and would generate AspectJ code by parsing that XMI.
Any references would be very helpful to me.
Thanks in advance.