code: public static List<CmsJspResourceWrapper> convertResourceList(CmsObject cms, List<CmsResource> list) {
  
          List<CmsJspResourceWrapper> result = new ArrayList<CmsJspResourceWrapper>(list.size());
          for (CmsResource res : list) {
              result.add(CmsJspResourceWrapper.wrap(cms, res));
          }
          return result;
      }
docs: Returns a list of resource wrappers created from the input list of resources.
  
  @param cms the current OpenCms user context
  @param list the list to create the resource wrapper list from
  
  @return the list of wrapped resources.