users@jaxb.java.net

Re: Code generator using jaxb -xjc plugin

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Tue, 22 Nov 2011 15:11:21 +0100

Hi,

Seems like you're inventing the wheel.

> I am writing a code generator using jaxb xjc plugin.
> I intend to use this plugin to
> 1)set annotations for class variable
>  <xs:element name="a" type="xs:integer">
>                    <xs:annotation>
>                        <xs:appinfo>
>
> <Mytags:annotation>Attribute</Mytags:annotation>
>                        </xs:appinfo>
>                    </xs:annotation>
>  </xs:element>

http://confluence.highsource.org/display/J2B/Annotate+Plugin

> 2)implement many interfaces

http://confluence.highsource.org/display/J2B/Inheritance+plugin

> 3)etc etc

http://confluence.highsource.org/display/J2B/JAXB2+Basics+Plugins

There's a lot of mighty plugins there. Source code is also available.

Bye,
/lexi