code: private CmsContainerBean buildContainerBean(ContainerInfo cnt) {
  
          List<CmsContainerElementBean> elements = Lists.newArrayList();
          for (CmsResource resource : cnt.getResources()) {
              CmsContainerElementBean elementBean = buildContainerElementBean(cnt, resource);
              elements.add(elementBean);
          }
          CmsContainerBean result = new CmsContainerBean(cnt.getName(), cnt.getType(), null, true, elements);
          return result;
      }
docs: Builds a container bean.<p>
  
  @param cnt the object containing the information to store in the container bean
  @return the container bean