GeeCON Prague 2014*
The moose likes XML and Related Technologies and the fly likes Pre initializing a collection for automated JAXB generations. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Pre initializing a collection for automated JAXB generations." Watch "Pre initializing a collection for automated JAXB generations." New topic
Author

Pre initializing a collection for automated JAXB generations.

nithin chinni
Ranch Hand

Joined: Dec 02, 2010
Posts: 41
Hi, I am using JAXB for generating objects form XSD's. The way jaxb objects are generating right now is,



But I want something like this


Is there a way in the jaxb bindings to specify that I want a pre initialization for jaxb elements.
 
GeeCON Prague 2014
 
subject: Pre initializing a collection for automated JAXB generations.