public final class ContainsSearchHandler extends Object implements ISearchHandler
Represents search handler for processing search event only once.
Constructor and Description |
---|
ContainsSearchHandler()
Initializes a new instance of the
ContainsSearchHandler class. |
Modifier and Type | Method and Description |
---|---|
void |
complete()
The search is completed.
|
boolean |
isFound()
Gets a value indicating whether the search word is found.
|
boolean |
processSearchResult(SearchResult searchResult)
The next occurrence of the search word is found.
|
public ContainsSearchHandler()
Initializes a new instance of the ContainsSearchHandler
class.
public boolean isFound()
Gets a value indicating whether the search word is found.
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 © 2018. All rights reserved.