private Extractor getExtractor(ServletContext context, String id) {
    CompareRegistry registry =
        (CompareRegistry) context.getAttribute(CompareRegistry.class.getName());

    Collection<Extractor> Extractors = registry.getAvailableExtractors();
    Extractor extractor = null;
    for (Extractor e : Extractors) {
      if (e.getClass().getName().equals(id)) {
        extractor = e;
      }
    }
    return extractor;
  }
  private Collection<Extractor> getExtractors(ServletContext context) {
    CompareRegistry registry =
        (CompareRegistry) context.getAttribute(CompareRegistry.class.getName());

    return registry.getAvailableExtractors();
  }