title: How do I set the elementFormDefault of an Element in JAXB on a single class basis instead of having it set for the entire package?
body: <p>I know I could use @XmlSchema to do this but the problem is we have a class in the same package that needs its namespace to be different from what's defined on package-info.java. So we declared the namespace in @XmlRootElement instead (of course while still having @XmlSchema in place). But doing this will not allow us to set the class's elementFormDefault. Moving the class to a different package is not an option. Basically, I just want to override the namespace for this particular class.</p>