This is an XJC plugin to set default values in the XJC generated classes based on the default attribute to
. Note that JAXB handles defaults for natively, so this plugin is not
necessary for an attribute default.
The plugin is particularly useful while generating Value Objects for a user interface from an XML schema. User
interface tags such as the Struts HTML tags use reflection on bean properties to render themselves, so it is
often useful to have a set of sensible defaults set in the Java Beans mapping to the user interface themselves.