docs: public String rewriteLink(String path) {
  
          CmsResource res = null;
  
          try {
              res = readResource(m_cms.getRequestContext().removeSiteRoot(path), CmsResourceFilter.ALL);
              if (res != null) {
                  String ret = null;
  
                  // iterate through all wrappers and call "rewriteLink" till one does not return null
                  List<I_CmsResourceWrapper> wrappers = getWrappers();
                  Iterator<I_CmsResourceWrapper> iter = wrappers.iterator();
                  while (iter.hasNext()) {
                      I_CmsResourceWrapper wrapper = iter.next();
                      ret = wrapper.rewriteLink(m_cms, res);
                      if (ret != null) {
                          return ret;
                      }
                  }
              }
          } catch (CmsException ex) {
              // noop
          }
  
          return path;
      }