JAXB unmarshaller with custom interceptor?
<p>Is it possible to "intercept" the unmarshalling process of <code>JAXB</code>?</p>

<p>I have an xml reponse that partially should be converted to a different java fields structure:</p>

<pre><code>&lt;xml&gt;
  &lt;X_FIELD1&gt;&lt;/X_FIELD1&gt;
  &lt;X_FIELD2&gt;&lt;/X_FIELD2&gt;
  ... 
  &lt;X_FIELD11&gt;&lt;/X_FIELD11&gt;
&lt;/xml&gt;
</code></pre>

<p>In my java class, I'd prefer to unmarshal this to a <code>List&lt;String&gt;</code>, instead of 11 <code>String</code> fields.</p>

<pre><code>public class XmlResponse {
   private String X_FIELD1;
   private String X_FIELD2;
   //...
   private String X_FIELD11;

//   private List&lt;String&gt; xFields;
} 
</code></pre>

<p>But is that possible?</p>