Interface IJavaSearchResultCollector


public interface IJavaSearchResultCollector
Deprecated.
Since 3.0, the class SearchRequestor replaces this interface.
A IJavaSearchResultCollector collects search results from a search query to a SearchEngine. Clients must implement this interface and pass an instance to the search(...) methods. When a search starts, the aboutToStart() method is called, then 0 or more call to accept(...) are done, finally the done() method is called.

Results provided to this collector may be accurate - in this case they have an EXACT_MATCH accuracy - or they might be potential matches only - they have a POTENTIAL_MATCH accuracy. This last case can occur when a problem prevented the SearchEngine from resolving the match.

The order of the results is unspecified. Clients must not rely on this order to display results, but they should sort these results (for example, in syntactical order).

The IJavaSearchResultCollector is also used to provide a progress monitor to the SearchEngine.

Clients may implement this interface.

See Also: