public final class ListSearchHandler extends Object implements ISearchHandler
Represents search handler for converting search events into a plain list.
Constructor and Description |
---|
ListSearchHandler()
Initializes a new instance of the
ListSearchHandler class. |
Modifier and Type | Method and Description |
---|---|
void |
complete()
The search is completed.
|
List<SearchResult> |
getList()
Gets a list with search results.
|
boolean |
processSearchResult(SearchResult searchResult)
The next occurrence of the search word is found.
|
public ListSearchHandler()
Initializes a new instance of the ListSearchHandler
class.
public List<SearchResult> getList()
Gets a list with search results.
public void complete()
The search is completed.
complete
in interface ISearchHandler
public boolean processSearchResult(SearchResult searchResult)
The next occurrence of the search word is found.
processSearchResult
in interface ISearchHandler
searchResult
- The search result.Copyright © 2019. All rights reserved.