James Humphrey wrote:
> Hi all,
>
> I'm developing a plugin and I'm wondering if there is any way to
> determine (inside the plugin) whether or not an xjc generated class
> member variable is going to be set as 'required = true' via the
> '_at_XmlElement(required = true)' annotation.
Sure. boolean CElementPropertyInfo.isRequired().
> Also, while I'm on the topic, what resources do you all recommend using
> to learn more about advanced plugin development? So far I've just been
> reverse engineering examples and javadocs, which I'm fine with (you
> know, there's nothing like getting your hands dirty...); however, if
> there are some resources out there I'll gladly use them ;)
One of my goals is to write one book before I die. I thought JAXB would
be a good topic for me, but never really had a time or courage (whether
it makes economical sense or not, mainly) to do so.
So my current plan is mostly to expand javadoc as questions come, and
enhance the architecture document.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com