docs: public Map<String, CmsXmlContentProperty> getElementSettings(CmsObject cms, CmsResource resource)
      throws CmsException {
  
          if (CmsResourceTypeXmlContent.isXmlContent(resource)) {
              Map<String, CmsXmlContentProperty> result = new LinkedHashMap<String, CmsXmlContentProperty>();
              Map<String, CmsXmlContentProperty> settings = CmsXmlContentDefinition.getContentHandlerForResource(
                  cms,
                  resource).getSettings(cms, resource);
              result.putAll(settings);
              return CmsXmlContentPropertyHelper.copyPropertyConfiguration(result);
          }
          return Collections.<String, CmsXmlContentProperty> emptyMap();
      }