code: public static Result get(XmlFileModel key)
      {
          String cacheKey = getKey(key);
  
          Result result = null;
          CacheDocument reference = map.get(cacheKey);
  
          if (reference == null)
              return new Result(false, null);
  
          if (reference.parseFailure)
              return new Result(true, null);
  
          Document document = reference.getDocument();
          if (document == null)
              LOG.info("Cache miss on XML document: " + cacheKey);
  
          return new Result(false, document);
      }
docs: Retrieve the currently cached value for the given document.