Class SearchObjectCursor

java.lang.Object
com.inductiveautomation.ignition.designer.findreplace.SearchObjectCursor
Direct Known Subclasses:
AbstractDeferredCursor, ClientScriptSearchProvider.MenuNodeCursor, ComponentCursor, ComponentTermCursor, SearchObjectAggregator, TemplateCursor, WindowCursor

public abstract class SearchObjectCursor extends Object
A simplified adaptation of iterator that is made to work with a SearchObjectAggregator. The main difference between this and an Iterator, besides the lack of hasNext() and remove(), is that a SearchObjectCursor is allowed to return either SearchObjects or more SearchObjectCursors, and the SearchObjectAggregator will sort it all out.
  • Constructor Details

    • SearchObjectCursor

      public SearchObjectCursor()
  • Method Details

    • next

      public abstract Object next()
      Gets the next search object, which might be a SearchObject or a SearchObjectCursor. Null is returned at the end of the stream to signify that the cursor is exhausted.
    • of

      public static SearchObjectCursor of(SearchObject... sos)