docs: private void init(CmsResource resource, CmsObject cms) {
  
          List<CmsProperty> properties;
  
          try {
              properties = cms.readPropertyObjects(resource, false);
          } catch (CmsException e) {
              m_priority = 0;
              m_title = "";
              return;
          }
  
          try {
              m_priority = Integer.parseInt(
                  CmsProperty.get(CmsPriorityResourceCollector.PROPERTY_PRIORITY, properties).getValue());
          } catch (NumberFormatException e) {
              m_priority = CmsPriorityResourceCollector.PRIORITY_STANDARD;
          }
  
          m_title = CmsProperty.get(CmsPropertyDefinition.PROPERTY_TITLE, properties).getValue();
          if (CmsStringUtil.isEmpty(m_title)) {
              m_title = "";
          }
      }