users@jaxb.java.net

Re: Interfaces plugin

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 21 Sep 2006 10:37:16 -0700

Raymond Wold wrote:
> I didn't find any way to specify that a generated class implemented some
> existing interface

Did this not work for you, or do we need to advertise it better?

https://jaxb.dev.java.net/nonav/2.0.2/docs/vendorCustomizations.html#superinterface


> so I wrote a simple plugin to do it. Any comments on
> existing ways to do this are welcome, as are comments on the code. As
> small as it is, I'm sure there are several things I haven't considered,
> or are just mistaken about.
>
> The plugin can be found at http://xml.w-wins.com/xjc-plugins/interfaces/

Nice!

I second Lexi that I'd love to see this plugin hosted on jaxb2-commons,
but I respect your choice. I'll just put a pointer to yours from there
for now.

I'm also curious about what your experience was with writing a plugin.
How long did it take? Was there anything we should have done better to
make it easier for you to write one? etc.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com