uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thilo Goetz <twgo...@gmx.de>
Subject Re: "Global" Parameters for a CPE
Date Wed, 24 Oct 2007 13:03:58 GMT
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.


View raw message