title: Mapping of XML data to/from a java object(s) using Dozer
body: <p>Test mapping of XML data to/from a java object(s) using dozer.</p>
  
  <p>That is, given a sample XML file , map this to new java classes with appropriate get/set methods for the various elements</p>
  
  <p>A sample XML file is given below:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no" ?&gt;
  &lt;cXML payloadID="1272549644772.1050674118.000000197@2Vmg9c/TnwT1ZqGdAuiHQvbDmNc=" timestamp="2010-04-29T07:00:44-07:00" version="1.2.020"&gt;
          &lt;Header&gt;
                  &lt;From&gt;
                          &lt;Credential domain="Test_Code"&gt;
                                  &lt;Identity&gt;ID_SYSTEM&lt;/Identity&gt;
                          &lt;/Credential&gt;
                  &lt;/From&gt;
                  &lt;To&gt;
                          &lt;Credential domain="Test_Code"&gt;
                                  &lt;Identity&gt;ID_SYSTEM&lt;/Identity&gt;
                          &lt;/Credential&gt;
                  &lt;/To&gt;
                  &lt;Sender&gt;
                          &lt;Credential domain="AribaNetworkUserId"&gt;
                                  &lt;Identity&gt;test.test@sial.com&lt;/Identity&gt;
                                  &lt;SharedSecret&gt;sigma123&lt;/SharedSecret&gt;
                          &lt;/Credential&gt;
                          &lt;UserAgent&gt;Sender Application 1.0&lt;/UserAgent&gt;
                  &lt;/Sender&gt;
          &lt;/Header&gt;
  &lt;/cXML&gt;
  </code></pre>
  
  <p>I need to map this to new java class</p>
  
  <p>Please help me.</p>