users@jaxb.java.net

customizing generated code and modifying runtime behavior

From: Chris O'Connell <oconnell_at_gorillachicago.com>
Date: Fri, 17 Aug 2007 16:56:15 -0500

I have two questions. Sorry if these are covered in the archive, but I
searched and couldn't find anything. First, I would like to make the
generated 'setters' on my generated classes be private. Second, I would
potentially like to subclass one of the generated classes and have jaxb
return that class, rather than the generated class when unmarshalling. Are
these things possible and if so, how?

 

Thanks, -Chris