Interface ISpellingProblemCollector
public interface ISpellingProblemCollector
A collector of
SpellingProblem
s. The SpellingService
service
will report its results to such a collector.
An implementer may specify if a collector is thread aware, i.e., if problems can be reported by any thread, potentially in parallel, and thus, multiple reporting sessions may be active at the same time. Clients of concrete collectors in turn must evaluate the usage of their collector and chose an appropriate implementation.
This interface is intended to be implemented by clients.
- Since:
- 3.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SpellingProblem problem) Notification of a spelling problem.void
Notification sent before starting to collect problems.void
Notification sent after completing to collect problems.
-
Method Details
-
accept
Notification of a spelling problem.- Parameters:
problem
- the spelling problem
-
beginCollecting
void beginCollecting()Notification sent before starting to collect problems. This method will be called by the spelling infrastructure and is not intended to be called by clients. -
endCollecting
void endCollecting()Notification sent after completing to collect problems. This method will be called by the spelling infrastructure and is not intended to be called by clients.
-