code: private List<CmsDecorationMap> getDecorationMaps(CmsObject cms, List<CmsResource> decorationListFiles) {
  
          List<CmsDecorationMap> decorationMaps = new ArrayList<CmsDecorationMap>();
          Iterator<CmsResource> i = decorationListFiles.iterator();
          while (i.hasNext()) {
              CmsResource res = i.next();
              try {
                  CmsDecorationMap decMap = (CmsDecorationMap)CmsVfsMemoryObjectCache.getVfsMemoryObjectCache().getCachedObject(
                      cms,
                      res.getRootPath());
                  if (decMap == null) {
                      decMap = new CmsDecorationMap(cms, res, this);
                      CmsVfsMemoryObjectCache.getVfsMemoryObjectCache().putCachedObject(cms, res.getRootPath(), decMap);
                  }
  
                  decorationMaps.add(decMap);
              } catch (CmsException e) {
                  if (LOG.isErrorEnabled()) {
                      LOG.error(
                          Messages.get().getBundle().key(
                              Messages.LOG_DECORATION_DEFINITION_CREATE_MAP_2,
                              res.getName(),
                              e));
                  }
              }
          }
          return decorationMaps;
      }
docs: Creates a list of decoration map objects from a given list of decoration files.<p>
  
  @param cms the CmsObject
  @param decorationListFiles the list of decoration files
  @return list of decoration map objects