Philipp Daumke wrote: [...] > > Another idea that I had was whether it's possible to access the > CollectionReaderXML from the CasConsumer automatically. Is there > something like getCPEComponents().getCollectionReader.getMetaData() > which you can call from any CPEComponent? I couldn't find it so far.
No, you can't do that. Components may not access their containers or other components. That would violate the UIMA idea of encapsulation. --Thilo
