code: protected void doLoadNextResource() {
  
          // get the next resource from the collector
          CmsResource resource = getNextResource();
          if (resource == null) {
              m_resourceName = null;
              m_resource = null;
              return;
          }
  
          // set the resource name
          m_resourceName = m_cms.getSitePath(resource);
  
          // set the resource
          m_resource = resource;
      }
docs: Load the next resource from the initialized list of resources.<p>