public IRTFDocumentParser newRTFDocumentParser(String rtfDocumentParserType)
throws UnsupportedRTFDocumentParser {
IRTFDocumentParser rtfDocumentParser = (IRTFDocumentParser)
applicationContext.getBean(rtfDocumentParserType);
if (rtfDocumentParser == null)
throw new UnsupportedRTFDocumentParser(rtfDocumentParserType);
return rtfDocumentParser;
}