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 ; }
Returns a list of resource wrappers created from the input list of resources .