have a google for "xjc interfaces plugin"
I've used it in the past.. works well, easy to use. You just have to add a few things at the top of your xsd to import it, add the flag to your xjc cmd, of course get classpath straight, and then finally annotate your element with the interfaces tag & use your interface FQCN.
And plugins are not that hard to write either. I've written an extends plugin, and an annotated with plugin. jaxb or xjc plugins should turn up much for you.
[Message sent by forum member 'newmanjw' (
newmanjw@...)]
http://forums.java.net/jive/thread.jspa?messageID=369691---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...