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 java.lang.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 Summary
Constructors Constructor Description SearchObjectCursor()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.Object
next()
Gets the next search object, which might be a SearchObject or a SearchObjectCursor.static SearchObjectCursor
of(SearchObject... sos)
-
-
-
Method Detail
-
next
public abstract java.lang.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)
-
-