title: JAXB marshalling, ignore nillable
body: <p>I have a class with variables with annotation nillable=true and I don't want them to show up in the xml. The class is generated from an xsd which can't be altered.</p>
  
  <p>Example:
  A class looking somththing like this:</p>
  
  <pre><code>public class Hi {
      ...
      @XmlElement(name = "hello", nillable = true)
      protected Long hello;
      ...
  }
  </code></pre>
  
  <p>The object gets marshalled with JAXBContext created marshaller. The generated xml turns into:</p>
  
  <pre><code>...
  &lt;hello xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/&gt;
  ...
  </code></pre>
  
  <p>The class Hi is generated from an xsd that can't be altered. My question is, is there a way to make the marshaller ignore the nillable argument and not output anything to the xml if "hello" is null?</p>