On 2/23/07, Joost Cassee wrote:
>
> Writing a plugin is not so hard. There are a number of them at
> https://jaxb2-commons.dev.java.net/. The CamelCase Always plugin comes
> close to your first question.
>
> These plugins customize the marshalling process directly, though, they
> do not generate annotations.
Thanks for the response.
I thought jaxb2-commons were all XJC plugins? We're not using XJC,
we're coding the Java classes by hand and letting jaxb/jaxws generate
the schema at runtime. So I'm interested in runtime plugins, not code
generation plugins.
Hmm though I forgot about the
com.sun.xml.bind.v2.model.annotation.AnnotationReader interface, I
could maybe get the behavior I want by implementing that.