String docType, String importType, String fileURL)
throws com.sun.star.uno.Exception {
XInterface oImp = (XInterface)xMSF.createInstance(
"com.sun.star.comp." + docType + ".XML" + importType + "Importer");
XImporter xImp = (XImporter) UnoRuntime.queryInterface
(XImporter.class, oImp) ;
XDocumentHandler xDocHandImp = (XDocumentHandler) UnoRuntime.queryInterface
(XDocumentHandler.class, oImp) ;
xImp.setTargetDocument(xDoc) ;
parseXMLFile(xMSF, fileURL, xDocHandImp) ;
}