Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-465

Need getViewIterator() method to work with a variable number of views

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.2
    • Core Java Framework
    • 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.

      Attachments

        Activity

          People

            eddie_epstein Eddie Epstein
            eddie_epstein Eddie Epstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: