title: JAXB XMLElementWrapper with attribute and value
body: <p>Im trying to create an xml file which is similar looking to the below menetioned.</p>
  
  <pre><code>&lt;message&gt;
     &lt;header&gt;
        &lt;params&gt;
           &lt;param name="test1"&gt;value1&lt;/param&gt;
           &lt;param name="test2"&gt;value2&lt;/param&gt;
        &lt;/params&gt;
     &lt;/header&gt;
  &lt;/message&gt;
  </code></pre>
  
  <p>Can you please let me know, how to define the class hierarchy.</p>
  
  <p>Thanks,
  Prakash.A</p>