users@jaxb.java.net

Re: XSComplexType

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Wed, 15 Nov 2006 12:18:52 +0100

Hi.

> By the way, can we change the property of class Jmethod? For example
> change the mods, the return value, etc.

No, code model is intended to be read-only. Well theoretically you can hack
JMethod and change private field per reflection, but I'd rather not recommend
this approach.

If you want to override how JAXB generates methods, you can set your own
FieldRendererFactory in options via plugin.

But please be aware that this can be done only once (two plugins can't do the same).

Bye.
/lexi