code: public void setResourceTypes(String[] resourceTypes) {
  
          if (resourceTypes != null) {
              m_parameters.setResourceTypes(Arrays.asList(resourceTypes));
          } else {
              m_parameters.setResourceTypes(null);
          }
          resetLastResult();
      }
docs: Limits the search to a given list of resource types only.<p>
  
  @param resourceTypes the resource types to limit the search result to