IFDocumentHandler documentHandler = maker.makeIFDocumentHandler(userAgent);
IFDocumentHandlerConfigurator configurator = documentHandler.getConfigurator();
if (configurator != null) {
configurator.configure(documentHandler);
}
return new EventProducingFilter(documentHandler, userAgent);
}