I'm trying to generate JAXB generated objects for the below sample xsd.
<xs:complexType name="AddressType">   
      <xs:sequence>   
        <xs:element name="USA" type="xs:string"/>   
      </xs:sequence>   
   </xs:complexType>  
and the class that gets generated without any custom bindings is
@XmlAccessorType(XmlAccessType.FIELD)   
@XmlType(name = "AddressType", propOrder = {   
    "usa"  
})   
public class AddressType {   
    @XmlElement(name = "USA", required = true)   
    protected String usa;   
    /**  
     * Gets the value of the usa property.  
     *   
     * @return  
     *     possible object is  
     *     {@link String }  
     *       
     */  
    public String getUSA() {   
        return usa;   
    }   
    /**  
     * Sets the value of the usa property.  
     *   
     * @param value  
     *     allowed object is  
     *     {@link String }  
     *       
     */  
    public void setUSA(String value) {   
        this.usa = value;   
    }   
}  
as you see the field name is "usa" and setters/getters are getUSA/setUSA.
Is there any custom setting/binding to have the field name also be generated as "USA" instead of "usa", that way the field and property are all "USA".
I referred How to customize property name in JAXB?
but that is to customize the property, instead of field.. any help
By the way, I'm using maven-jaxb2-plugin