users@jaxb.java.net

"Default Values" plugin

From: Hari Selvarajan <hari_at_dcis.net>
Date: Tue, 25 Apr 2006 05:58:34 -0700

Greetings,

I've written a JAXB2 plugin that sets default values for primitive types
and Strings based on the "default" attribute for an element in a schema.
  If it would be useful, I'd be happy to make it available to people
looking for such a plugin. I use JAXB to create value objects for a web
application, and I needed the ability to set sensible defaults (for
radio buttons mapped to booleans, etc.). This plugin does that.

- Hari