docs: function (callback, options) {
              if (this._out != null) {
                  // calling refresh while the HTML is being generated is not permitted
                  this.$logError(this.INVALID_STATE_FOR_REFRESH, [this.tplClasspath]);
                  return null;
              }
              var out = new ariaTemplatesMarkupWriter(this, options);
              var res = null;
              this._setOut(out);
              this.$callback(callback, out);
              res = out.getSection();
              out.$dispose();
              this._setOut(null);
              return res;
          }