JAXB2 Fluent API Plugin - highsource/jaxb-tools GitHub Wiki
Fluent API Plugin
Support a fluent api in addition to the default (JavaBean) setter methods.
The initial idea is simply to add a with*
method to the generated class for every set*
method encountered, with the only functional difference of returning the class instance, instead of void.
Activation
The plugin is activated by the -Xfluent-api