Skip to content

JAXB2 Value Constructor Plugin

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

Value Constructor Plugin

Generate two constructors for each generated class, one of which is a default constructor, the other takes an argument for each field in the class and initialises the field with the argument value.

Without this plugin, XJC will not generate any explicit constructors.

Activation

The plugin is activated by the -Xvalue-constructor

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy