title: Java object into XML conversion using JAXB - annotation issue
body: <pre><code>public class RequestXml // this pojo for RequestXML
  {
      private Contact[] Contact;
  
      public Contact[] getContact ()
      {
          return Contact;
      }
  
      @XmlElement(name="Contact")
      public void setContact (Contact[] Contact)
      {
          this.Contact = Contact;
      }
  }
  </code></pre>
  
  <p><strong>another pojo</strong></p>
  
  <pre><code>public class Contact  // this class is for contact
  {
      private String content;
      private String role;
  
      public String getContent ()
      {
          return content;
      }
  
      @XmlElement(name="content")
      public void setContent (String content)
      {
          this.content = content;
      }   
  
      public String getRole ()
      {
          return role;
      }
  
      @XmlElement(name="role")
      public void setRole (String role)
      {
          this.role = role;
      }
  }
  </code></pre>
  
  <p><strong>As I am getting result like below while marshalling</strong></p>
  
  <pre><code>&lt;Contact role="firstUser"/&gt;
  &lt;Contact role="secondUser"/&gt;
  &lt;Contact role="LastUser"/&gt;
  </code></pre>
  
  <p><strong>As below is the expected output:</strong></p>
  
  <pre><code>&lt;Contact role="firstUser"&gt;aaaa&lt;/Contact&gt;
  &lt;Contact role="secondUser"&gt;bbbb&lt;/Contact&gt;
  &lt;Contact role="LastUser"&gt;cccc&lt;/Contact&gt;
  </code></pre>
  
  <p>Please help me on this.</p>