public void setCollectionReader() { try { CollectionReaderDescription collectionReaderDescription = UIMAFramework.getXMLParser() .parseCollectionReaderDescription(new XMLInputSource(collectionReaderDescriptor)); CollectionReader collectionReader = UIMAFramework.produceCollectionReader(collectionReaderDescription); uimaEEEngine.setCollectionReader(collectionReader); } catch (ResourceInitializationException e) { } catch (InvalidXMLException e) { } catch (IOException e) { } }