title: JAXB - Ignore an XML element
body: <p>I have an XML</p>
  
  <pre><code>&lt;SubTask id="3"&gt;
              &lt;state&gt;enabled&lt;/state&gt;
         &lt;/SubTask
  </code></pre>
  
  <p>There is a JAXB class with two variable "id" and "state".Now when I unmarshall the above XML, I don't want to load the "id" element into the Java object. How can I do this programmatically? I don't want to change the Java class.</p>