docs: public AntiSamy createAntiSamy(CmsObject cms, String policyPath) {
  
          String rootPath = cms.addSiteRoot(policyPath);
          Policy policy = null;
          if (policyPath != null) {
              Object cacheValue = CmsVfsMemoryObjectCache.getVfsMemoryObjectCache().getCachedObject(cms, rootPath);
              if (cacheValue == null) {
                  policy = readPolicy(cms, policyPath);
                  if (policy != null) {
                      CmsVfsMemoryObjectCache.getVfsMemoryObjectCache().putCachedObject(cms, rootPath, policy);
                  }
              } else {
                  policy = (Policy)cacheValue;
              }
          }
          if (policy == null) {
              policy = defaultPolicy;
          }
          if (policy != null) {
              return new AntiSamy(policy);
          }
          return null;
      }