code: private List<Object[]> getDataListByFilter(DataProviderFilter dataFilter) {
  
          logger.entering(dataFilter);
          List<Object[]> allObjs = new ArrayList<>();
          if ((null == resource.getCls()) && (null != resource.getXpathMap())) {
              Document doc = getDocument();
              for (Entry<String, Class<?>> entry : resource.getXpathMap().entrySet()) {
                  String xml = getFilteredXml(doc, entry.getKey());
                  List<?> objectList = loadDataFromXml(xml, entry.getValue());
                  List<Object[]> singleResourceObjs = DataProviderHelper.filterToListOfObjects(objectList, dataFilter);
                  allObjs.addAll(singleResourceObjs);
              }
          } else {
              List<?> objectList = loadDataFromXmlFile();
              allObjs = DataProviderHelper.filterToListOfObjects(objectList, dataFilter);
          }
          logger.exiting(allObjs);
  
          return allObjs;
      }
docs: Generates an objects in List from the XML data filtered per {@code dataFilter}.
  
  @param dataFilter an implementation class of {@link DataProviderFilter}
  @return List of objects