private void indent(Writer out, int level) throws IOException {
    //if (currentFormat.indent == null ||
    //    currentFormat.indent.equals("")) {
    //    return;
    //}

    for (int i = 0; i < level; i++) {
      out.write("\t");
    }
  }
private void indent(Writer out, int level)