title: how to change code so it works with itext 7
body: <p>The following code works nicely with iText 5:</p>
  
  <pre><code>LEVEL = PdfAConformanceLevel.PDF_A_3A
  writer = PdfAWriter.getInstance(document, baos, LEVEL)
  </code></pre>
  
  <p>What is the correct syntax for iText 7?</p>
  
  <p>Where can I find examples and documentation about iText 7?</p>