title: JAXB: How to exclude specific field from marshaling in runtime?
body: <p>I'm using JAXB+Jettison to serve multiformat RESTful (schema-less) service.
  <code>@XmlTransient</code> annotation served good for those properties that I don't want to serialize at all. But that's not enough.</p>
  
  <p>How can I exclude specific field from marshaling <strong>in runtime</strong>?</p>
  
  <p>Can I somehow preinitialize Marshaling context and define what fields to exclude?</p>
  
  <p>I need that to selectively serialize object fields based on current user's role.</p>