Does anyone know of a way to apply global customization patterns in
the Java-first approach? Or a plug-in point to create an extension
for this?
For example, lets say I always wanted my schema types to start with a
capital letter. Currently, I'd do this:
@XmlType(name="Foo")
class Foo {}
@XmlType(name="Bar")
class Bar {}
Instead of adding these annotations to every class, I'd rather create
a "plug-in" that changes the default behavior. Is anything like this
possible with the Java-first approach?
I'd like to do the same thing with Collections, make them always
include an implicit @XmlElementWrapper.