public void generateHtml()
      throws IllegalArgumentException, IllegalAccessException, IOException,
          SIMPLTranslationException, URISyntaxException {
    appendHeader(print);
    Desktop desktop = Desktop.getDesktop();
    URI uri = new URI("MmtoHtml.html");
    for (DocumentClosure documentClosure : documentCollection) {
      Document document = documentClosure.getDocument();

      TranslationContext translationContext = new TranslationContext();
      document.serializeToHtml(print, translationContext);
    }
    appendFooter(print);
    print.close();
    desktop.browse(uri);
  }