[ 
https://issues.apache.org/jira/browse/UIMA-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eddie Epstein closed UIMA-465.
------------------------------


> Need getViewIterator() method to work with a variable number of views
> ---------------------------------------------------------------------
>
>                 Key: UIMA-465
>                 URL: https://issues.apache.org/jira/browse/UIMA-465
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.2
>            Reporter: Eddie Epstein
>            Assignee: Eddie Epstein
>             Fix For: 2.2
>
>
> Based on user feedback, a common design pattern is for an annotator to want 
> to process a set of Views in a CAS. Currently user code can do this using 
> getSofaIterator() and testing each SofaFS to see if it matches the 
> requirement. A simpler approach is to have a new method:
>   Iterator getViewIterator(viewname)
> where viewname represents a Sofa name prefix. As with Sofa mapping, this API 
> would return all views with names matching viewname.*. Sofa mapping would be 
> respected, so "viewname" could be mapped.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to