when I used Jaxb with xsd to generate java source it creates the same but with AccessType.Field on the type classes. The problem is while marshalling it enquires the fields but not the getter methods. This way I will not get a default value If I don't set it explicitly.
Is there a way to use JAXB to generate source with AccessType.Property(this will also place all the field level generated annotation at the property level) instead of AccessType.Field.
Thanks in advance.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: JaxB(How to create source with Accesstype.PROPERTY)