code: public static void cache(XmlFileModel key, Document document)
      {
          String cacheKey = getKey(key);
          map.put(cacheKey, new CacheDocument(false, document));
      }
docs: Add the provided document to the cache.