title: How to bind xml to bean
body: <p>In my application i use some API via HTTP and it returns responces as  xml. I want automaticaly bind data from xml to beans.</p>
  
  <p>For example bind following xml:</p>
  
  <pre><code>&lt;xml&gt;
     &lt;userid&gt;123456&lt;/userid&gt;
     &lt;uuid&gt;123456&lt;/uuid&gt;
  &lt;/xml&gt;
  </code></pre>
  
  <p>to this bean (maybe with help of annotations)</p>
  
  <pre><code>class APIResponce implement Serializable{
  
  private Integer userid;
  private Integer uuid;
  ....
  }
  </code></pre>
  
  <p>What the simplest way to do this?</p>