JAXB not generating setter method for Lists

Wed

16

Jul

2008

Few days back, I had been working with JAXB 2.0 to marshall some objects into XML. That was when I realized that JAXB did not generate setter methods for lists in the members (which was the result of having unbounded elements).

After being frustrated about it, and a little searchinga round, I was able to figure it out.

Even though the solution is small, explaining it ended up being a relatively large article. Hence, I posted it at WiseTome.com: JAXB - Handling Lists in Generated Proxy Classes

Trackback URL for this post:

http://kmaheshbhat.com/trackback/193

Jaxb Bookmarks

Bookmarked your page with keywords jaxb!

Post new comment

The content of this field is kept private and will not be shown publicly.