title: Are there any StAX implementation for android?
body: <p>I want to use StAX API implementation in android 1.6 and above devices. Are there any implementations out there ? I cannot use the jar file directly since it gives issues regarding inner class. If its not available, is there any way I can recompile the implementation ? Is there an alternate way for POJO class to be mapped into XML and vice versa directly, please exclude SAX parser and DOM parser. </p>
  
  <p>I think it is possible for POJO class to be mapped into XML and vice versa using JAXB. But the situation is like this. Consider this example,</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;cars&gt;
  &lt;car registration="abc123"&gt;
      &lt;brand&gt;BMW&lt;/brand&gt;
      &lt;description&gt;Sedan&lt;/description&gt;
  &lt;/car&gt;
  &lt;car registration="abc123"&gt;
      &lt;brand&gt;Ferrari&lt;/brand&gt;
      &lt;description&gt;SportsCar&lt;/description&gt;
  &lt;/car&gt;
  &lt;/cars&gt;
  </code></pre>
  
  <p>Now in the result I want List which has the 2 cars in it.</p>
  
  <p>Also how does JAXB parser fare against StAX ?</p>