Skip to content

JAXB2 Fluent API Plugin

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

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

Clone this wiki locally