karta.xml.bind">JAXBElement</a>&lt;T&gt;&nbsp;unmarshal&#8203;(javax.xml.stream.XMLEventReader&nbsp;reader,
                             java.lang.Class&lt;T&gt;&nbsp;declaredType)
                      throws <a href="JAXBException.html" title="class in jakarta.xml.bind">JAXBException</a></pre>
<div class="block">Unmarshal root element to Jakarta XML Binding mapped <code>declaredType</code>
 and return the resulting content tree.
 
 <p>
 This method implements <a href="#unmarshalByDeclaredType">unmarshal b