Skip to main content

JAXB generateMixedExtensions does not generate getter method

1 reply [Last post]
Joined: 2004-01-23

I am using the JAXB generateMixedExtensions binding customization and it appears to be working as documented at this blog. From a debugger I can observe that during marshalling all the lax content in the subclass is going into contentOverrideForXXX property as expected.

The problem is that this property is generated with the protected scope modifier and with out Java bean getter/setter properties so there is no way to access the property value. Is there a way to trigger the generation of a getter method for this property?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2005-09-23