Last Version

JAXB2 Default Value Plugin 1.1

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.

License

License

Apache License
GroupId

GroupId

org.andromda.thirdparty.jaxb2_commons
ArtifactId

ArtifactId

default-value-plugin
Version

Version

1.1
Type

Type

jar
Description

Description

JAXB2 Default Value Plugin
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.
Project Organization

Project Organization

Sun Microsystems

Download default-value-plugin 1.1


<!-- https://jarcasting.com/artifacts/org.andromda.thirdparty.jaxb2_commons/default-value-plugin/ -->
<dependency>
    <groupId>org.andromda.thirdparty.jaxb2_commons</groupId>
    <artifactId>default-value-plugin</artifactId>
    <version>1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.andromda.thirdparty.jaxb2_commons/default-value-plugin/
implementation 'org.andromda.thirdparty.jaxb2_commons:default-value-plugin:1.1'
// https://jarcasting.com/artifacts/org.andromda.thirdparty.jaxb2_commons/default-value-plugin/
implementation ("org.andromda.thirdparty.jaxb2_commons:default-value-plugin:1.1")
'org.andromda.thirdparty.jaxb2_commons:default-value-plugin:jar:1.1'
<dependency org="org.andromda.thirdparty.jaxb2_commons" name="default-value-plugin" rev="1.1">
  <artifact name="default-value-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.andromda.thirdparty.jaxb2_commons', module='default-value-plugin', version='1.1')
)
libraryDependencies += "org.andromda.thirdparty.jaxb2_commons" % "default-value-plugin" % "1.1"
[org.andromda.thirdparty.jaxb2_commons/default-value-plugin "1.1"]

Dependencies

compile (2)

Group / Artifact Type Version
com.sun.xml.bind : jaxb-impl jar 2.1.10
com.sun.xml.bind : jaxb-xjc jar 2.1.10

test (1)

Group / Artifact Type Version
junit : junit jar 3.8.1

Project Modules

There are no modules declared in this project.