title: JAXB: How do I annotate classes so that they belong to different namespaces?
body: <p>I want to have <strong>JAXB-annotated</strong> classes which would be
  marshalled/unmarshalled to <strong>different XML namespaces</strong>.</p>
  
  <p>What I need is something like:</p>
  
  <pre><code>&lt;someRootElement xmlns="urn:my:ns1"
      xmlns:a="urn:my:ns2" xmlns:b="urn:my:ns3"&gt;
  
    &lt;someElement/&gt;
    &lt;a:someElement/&gt;
    &lt;b:someElement/&gt;
  
  &lt;/someRootElement&gt;
  </code></pre>
  
  <p>How can it be done?</p>
  
  <p>Can it be done programatically?
  (<strong>without</strong> the need for JAXB's <strong>.xjb bindings file</strong>?)</p>