code: public void setFormatJavadoc(boolean val) {
      if (val && !formatJavadoc) {
        startDelim = "* " + startDelim;
        endDelim = "* " + endDelim;
      } else if (!val && formatJavadoc) {
        startDelim = StringUtils.removeStart("* ", startDelim);
        endDelim = StringUtils.removeStart("* ", endDelim);
      }
      this.formatJavadoc = val;
    }
docs: Supply true to set the output format to Javadoc, false to set the output format to HTML.
  
  @param val true to set the output format to Javadoc, false to set the output format to HTML