code: public I_CmsResourceLoader getLoader(CmsResource resource) throws CmsLoaderException {
  
          return getLoader(getResourceType(resource.getTypeId()).getLoaderId());
      }
docs: Returns the loader class instance for a given resource.<p>
  
  @param resource the resource
  @return the appropriate loader class instance
  @throws CmsLoaderException if something goes wrong