users@jaxb.java.net

Re: xjc plugin: How to access enumeration value jxb:javadoc bindings?

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Thu, 01 Feb 2007 01:47:34 +0100

Hi.

> I noticed that passing javadoc from xsd jxb:javadoc tags to enumeration
> values is currently not supported by xjc ( at least it doesn't work for
> me). This led me to try writing a plugin that would do it.
>
> Problem I am having is that I'm stuck trying to get easy access to the
> jxb:javadoc binding text in my binding file.
>
> How do I access the binding info directly to get the text I specify
> there so that I can insert it into the javadoc for each enum?

I don't know if it helps? but there's "javadoc" field in CPropertyInfo.
What are you up to? Could you post an example, maybe one of us could help.

Bye.
/lexi