private void writeReport(final OutputStream outputStream) {
    Transformer transformer;
    try {
      transformer = TransformerFactory.newInstance().newTransformer();
      transformer.transform(new DOMSource(doc), new StreamResult(outputStream));
    } catch (Exception e) {
      throw WroRuntimeException.wrap(e, "Problem during Document transformation").logError();
    }
  }
private void writeReport(final OutputStream outputStream) {
    Transformer transformer;
    try {
      transformer = TransformerFactory.newInstance().newTransformer();
      transformer.transform(new DOMSource(doc), new StreamResult(outputStream));
    } catch (Exception e) {
      throw WroRuntimeException.wrap(e, "Problem during Document transformation").logError();
    }
  }
private void writeReport ( final OutputStream outputStream ) { Transformer transformer ; try { transformer = TransformerFactory . newInstance ( ) . newTransformer ( ) ; transformer . transform ( new DOMSource ( doc ) , new StreamResult ( outputStream ) ) ; } catch ( Exception e ) { throw WroRuntimeException . wrap ( e , "Problem during Document transformation" ) . logError ( ) ; } }
write the content to the {@link OutputStream}
write the content to the {