title: How generate XMLElementWrapper annotation with xjc and customized binding
body: <p>I'm using JAXB and xjc to compile my XML Schema into Java classes. I do not want to manually edit this generated classes. I have xml schema like that:</p>
  
  <pre><code>&lt;xs:element name="root"&gt;
    &lt;xs:complexType&gt;
      &lt;xs:sequence&gt;
        &lt;xs:element name="items"&gt;
          &lt;xs:complexType&gt;
            &lt;xs:sequence&gt;
              &lt;xs:element ref="item" /&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>The xjc generates a class <code>Items</code> that only contains a list of <code>Item</code> objects. Is there any chance to omit the class <code>Items</code> and have a list of <code>Item</code> objects directly in the <code>Root</code>class?</p>
  
  <p>I know that this can be done with <code>@XMLElementWrapper</code> annotation, but I don't know how to tell xjc to create such.</p>
  
  <p>Thanks for any suggestions!</p>
  
  <p>Best regards,
  Markus</p>