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