Code style for the generated files
If you compile the code produced by XJC in Eclipse 3.1M6 (with all warnings turned on, except "non-localized strings"), you will see quite a handful of messages.
There are javadoc problems (parameters missing, functions with no comments, malformed link references), unqualified access for return values, undocumented empty blocks, type safety issues in castings and unnecessary castings.
There are projects out there that regularly use tools like jlint, findbugs and pmd to scan their code repositories for problems. In this case, there is nothing to do short of changing the generated files.
You can see the attached screenshot of a generated file strewn with warning messages (20 messages for 105 generated lines).