code: private List<CmsResource> getResources() {
  
          List<CmsResource> result = new LinkedList<CmsResource>();
          CmsObject cms = getCms();
          CmsResourceFilter filter = CmsResourceFilter.ALL;
          try {
              for (String path : m_paths) {
                  List<CmsResource> resources = cms.readResources(path, filter, true);
                  // filter out any resource that is no XML content:
                  for (CmsResource resource : resources) {
                      if (resource.isFile()) {
                          if (CmsResourceTypeXmlContent.isXmlContent(resource)) {
                              result.add(resource);
                          } else if (CmsResourceTypeXmlPage.isXmlPage(resource)) {
                              result.add(resource);
                          }
                      }
                  }
              }
          } catch (CmsException e) {
              LOG.error(Messages.get().getBundle().key(Messages.LOG_ERR_LANGUAGECOPY_READRESOURCES_0), e);
              result = Collections.emptyList();
          }
  
          return result;
      }
docs: Reads the resources available for processing based on the path parameters.<p>
  
  @return the resources available for processing based on the path parameters.