users@jaxb.java.net

Accessing schema's default values at code generation time

From: <sacks_at_btmmr.com>
Date: Mon, 06 Apr 2009 14:14:14 -0400

I have a plugin that?s generating some code for me, and I want it to
be able to generate a call that contains the default value of an
attribute. In the debugger, I can see the default value inside a
CPropertyInfo instance ?i? at i.defaultValue.val.value. However, it
looks like some of those classes are hidden from me at runtime, so
even though I can see the default in the debugger, I can?t write code
that accesses it. Is that true? Is there another way to get at that
data? Thanks.

-Joel