title: Can I customize JAXB @XmlElementWrapper elements for a java.util.Map
body: <p>I'm trying to learn to use Map with Jaxb.
  I did this:</p>
  
  <pre><code>@XmlElementWrapper(name = "phoneNumbers", nillable = true)
  private Map&lt;String, PhoneNumber&gt; phoneNumbers;
  </code></pre>
  
  <p>and the result was:</p>
  
  <pre><code> &lt;xs:element nillable="true" name="phoneNumbers"&gt;
      &lt;xs:complexType&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element name="entry" minOccurs="0" maxOccurs="unbounded"&gt;
            &lt;xs:complexType&gt;
              &lt;xs:sequence&gt;
                &lt;xs:element name="key" minOccurs="0" type="xs:string"/&gt;
                &lt;xs:element name="value" minOccurs="0" type="PhoneNumberType"/&gt;
              &lt;/xs:sequence&gt;
            &lt;/xs:complexType&gt;
          &lt;/xs:element&gt;
        &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
    &lt;/xs:element&gt;
  </code></pre>
  
  <p>Is there any way to change the "entry","key","value"  element names?</p>
  
  <p>I've tried to use @XmlElements, @XmlElement but I just got errors.</p>