title: Java SimpleXml parsing @ElementList
body: <p>I have this part from an Xml file:</p>
  
  <pre><code>&lt;image height="55"&gt;image1.jpg&lt;/image&gt;
  &lt;image height="60"&gt;image2.jpg&lt;/image&gt;
  &lt;image height="170"&gt;image3.jpg&lt;/image&gt;
  </code></pre>
  
  <p>I know that I can parse it with :</p>
  
  <pre><code>@ElementList(entry = "image", inline = true)
  private List&lt;Image&gt; images;
  </code></pre>
  
  <p>but I need in my java object one attribute with the name :</p>
  
  <pre><code>String image; // correspond to image2.jpg
  </code></pre>
  
  <p>How can I do this with annotation ?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>It's not that I want, I have a class like this.
  But I want to declare only one attribute </p>
  
  <pre><code>String image;
  </code></pre>
  
  <p>to access directly to the text from the second line with direct annotation </p>
  
  <pre><code>&lt;image height="60"&gt;image2.jpg&lt;/image&gt;
  </code></pre>
  
  <p>for example (I don't know) something like this :</p>
  
  <pre><code>@Element(name="image[1]/text")
  String image;
  </code></pre>
  
  <p>Is it possible ?</p>