users@jaxb.java.net

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

From: Peter Lynch <peterlynch_at_pub.missioncap.ca>
Date: Wed, 31 Jan 2007 15:55:45 -0400

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?

-Peter