Construct JAXB

This palette action will generate code to instantiate JAXB object.
This code generation is especially useful when JAXB object contain series of nested objects by automating generation of series of getter and setters methods calls.

Code generated will not only instantiate the JAXB Object, but will populate all the nested objects with initial values.

Selective instantiation and populatng with initial values for nested JAXB objects can be done by passing sample XML file.
Sample XML file needs to conform to the XSD/Schema used to generate the JAXB class.

When sample XML file is not provided, all the nested JAXB members objects are instantiated.