code: public void render(Writer w, String template, Object... args) {
          outputMode.set(OutputMode.writer);
          try {
              ITemplate t = getTemplate(template, args);
              t.render(w);
          } finally {
              renderCleanUp();
          }
      }
docs: Render template by string parameter and an array of
  template args. The string parameter could be either
  a path point to the template source file, or the inline
  template source content. The render result is output
  to the specified character based writer
  <p/>
  <p>See {@link #getTemplate(java.io.File, Object...)} for note on
  render args</p>
  
  @param w        the writer
  @param template either the path of template source file or inline template content
  @param args     render args array