title: Can we create a java object from an xml without knowing what object it is belong to
body: <p>I have an xml content, for which i don't know to what class it is belongs to. I need to create a dynamic java object with the info available from the XML. Is it possible to do so ?. It may be the simple java object, then we can use java reflection to get the values from that object. For example, </p>
  
  <pre><code>&lt;Employee&gt;
    &lt;name&gt;Jack&lt;/name&gt;
    &lt;designation&gt;Manager&lt;/designation&gt;
    &lt;department&gt;Finance&lt;/department&gt;
  &lt;/Employee&gt;
  </code></pre>
  
  <p>So, from this xml, i need to convert to Employee object. But, i didn't have Employee class in my classpath. Is that possible to create an object with the XML provided ?</p>