code: private CmsResource getResourceToEdit(CmsObject cms) {
  
          CmsResource resource = null;
          if (m_uuid != null) {
              try {
                  CmsUUID uuid = new CmsUUID(m_uuid);
                  resource = cms.readResource(uuid, CmsResourceFilter.ignoreExpirationOffline(cms));
  
              } catch (NumberFormatException | CmsException e) {
                  LOG.warn("UUID was not valid or there is no resource with the given UUID.", e);
              }
          }
          return resource;
      }
docs: Returns the resource to edit according to the uuid provided via the tag's attribute "uuid".<p>
  
  @param cms the CMS context
  
  @return the resource