This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
The problem is the following. I need to generate java-classes from a set of xsd-schemes. One of the problems I face is I can't figure out how to tell the CodeGen process to make the generated class be an offspring of another class. More detailed:
there is a class: where and B - is supposed to be a generated by JiBX class. According to the xsd, the B element is not a child of any element and the Message class is not the generated one. As you can see, I need to tell JiBX to generate the described class hierarchy at the compilation time. If I'm not mistaken such things could only be done in customizations (bindings change already generated classes), but I can't find how to do it.
This trick is simple enough in castor, for example, but JiBX is a requirement for our team...