users@jaxb.java.net

Re: Re: Code generator using jaxb -xjc plugin

From: <subin.mdl_at_gmail.com>
Date: Tue, 29 Nov 2011 09:25:36 +0000 (GMT)

Thanks,

I was able to use the Annonate plugin to create the classes with
annotation.
But now i want to create a interface with methods in it.
How do i do that?

I tried using the globalbinding
 <xs:annotation>
        <xs:appinfo>
            <jaxb:globalBindings generateValueClass="false">
            </jaxb:globalBindings>
        </xs:appinfo>
    </xs:annotation>

and then used the code injector plugin to inject the methods.
But is there a better way

Thanks
-Su