I'm writing a custom plugin for XJC. I need XJC to generate extra classes which are not in the XSD Schema. How can I do that?
In run(Outline model, ...) we have access to model.getClasses() which are of a ClassOutline type. The problem is I need to add JDefinedClass, but I don't know where to add it. Each ClassOutline has only one implClass which I cannot replace or add.