This is an XJC plugin to set default values in the XJC generated classes based on the default attribute to <xs:element>. Note that JAXB handles defaults for <xs:attribute> 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.
Homepage POM file JAR file Javadoc'org.andromda.thirdparty.jaxb2_commons:default-value-plugin:1.1'