code: public UriMappingResolver addResources(String... resources) {
          if (resources.length % 2 == 1) {
              throw new IllegalArgumentException
                      ("Expected even number of arguments");
          }
          for (int i = 0; i < resources.length; i += 2) {
              addSchema(resources[i], resources[i+1]);
          }
          return this;
      }
docs: Calls {@link #addResource(java.lang.String, java.lang.String)} with
  pairs taken from the argument array.
  @param resources array of uri-resource pairs
  @return this
  @throws IllegalArgumentException if length of resources is not even