docs: protected Map<String, CmsType> readTypes(CmsXmlContentDefinition xmlContentDefinition, Locale locale) {
  
          CmsContentTypeVisitor visitor = new CmsContentTypeVisitor(getCmsObject(), null, locale);
          visitor.visitTypes(xmlContentDefinition, locale);
          return visitor.getTypes();
      }