code: protected CmsResource getNextResource() {
  
          if ((m_collectorResult != null) && (m_collectorResult.size() > 0)) {
  
              m_contentInfoBean.incResultIndex();
              return m_collectorResult.remove(0);
          }
  
          return null;
      }
docs: Returns the next resource from the collector.<p>
  
  @return the next resource from the collector