code: private void parseSettingsConfig(CmsResource resource, Map<CmsUUID, List<CmsXmlContentProperty>> settingConfigs) {
  
          List<CmsXmlContentProperty> settingConfig = new ArrayList<>();
  
          try {
              CmsFile settingFile = m_cms.readFile(resource);
              CmsXmlContent settingContent = CmsXmlContentFactory.unmarshal(m_cms, settingFile);
              CmsXmlContentRootLocation location = new CmsXmlContentRootLocation(settingContent, Locale.ENGLISH);
              for (I_CmsXmlContentValueLocation settingLoc : location.getSubValues(CmsFormatterBeanParser.N_SETTING)) {
                  CmsXmlContentProperty setting = CmsConfigurationReader.parseProperty(
                      m_cms,
                      settingLoc).getPropertyData();
                  settingConfig.add(setting);
              }
              settingConfigs.put(resource.getStructureId(), settingConfig);
          } catch (Exception e) {
              LOG.error(e.getLocalizedMessage(), e);
          }
      }
docs: Helper method for parsing a settings configuration file.<p>
  
  @param resource the resource to parse
  @param settingConfigs the map in which the result should be stored, with the structure id of the resource as the key