CXF XJC Default Value Plugin
The CXF XJC Default Value Plugin provides and XJC plugin that updates the generated beans to return the default value defined in the schema for fields that are unset in the instance.
For example, if the schema contains:
it would generate getter methods like:
Normally, XJC would just generate code like:
so code that works with the beans need to take the possible null return into account.
To use with Maven