I use XML schemas and generate java files with xjc to be used with JAXB. Created java files have the default @XmlAccessorType (XmlAccessType.FIELD). I would like to change this so that the resulting java files have access to PROPTERY access (@XmlAccessorType (XmlAccessType.PROPERTY)) and do not have @ XmlElement / @ XmlAttribute annotations generated at the field level. Is there a way to accomplish this through a bind file?
source share