Skip to content

JAXB2 Default Value Plugin

Laurent Schoelens edited this page Aug 29, 2023 · 1 revision

Default Value Plugin

Modifies the JAXB code model to set default values to the schema default attribute.

Currently, the following field types can be initialized :

  • Enumerations
  • String
  • Descendants of java.lang.Number
    • Byte
    • Double
    • Float
    • Integer
    • Long
    • Short
  • Boolean

Activation

The plugin is activated by the -Xdefault-value

Clone this wiki locally