docs: function (newFilter) {
                  var filterInfo = {};
                  if (typeUtils.isString(newFilter)) {
                      filterInfo.filterClasspath = newFilter;
                      filterInfo.initArgs = null;
                      this._filtersToBeLoaded++;
                  } else if (typeUtils.isInstanceOf(newFilter, "aria.core.IOFilter")) {
                      if (this.isFilterPresent(newFilter)) {
                          this.$logError(this.FILTER_INSTANCE_ALREADY_PRESENT);
                          return false;
                      }
                      filterInfo.filterClasspath = newFilter.$classpath;
                      filterInfo.obj = newFilter;
                  } else if (typeUtils.isObject(newFilter)) {
                      filterInfo.filterClasspath = newFilter.classpath;
                      filterInfo.initArgs = newFilter.initArgs;
                      this._filtersToBeLoaded++;
                  } else {
                      this.$logError(this.INVALID_PARAMETER_FOR_ADDFILTER);
                      return false;
                  }
                  if (!this._filters) {
                      this._filters = [];
                  }
                  this._filters[this._filters.length] = filterInfo;
                  return true;
              }