Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2
-
None
Description
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.