Package ro.sync.ecss.extensions.api
Class SpellCheckingProblemInfoWithSuggestions
java.lang.Object
ro.sync.ecss.extensions.api.SpellCheckingProblemInfo
ro.sync.ecss.extensions.api.SpellCheckingProblemInfoWithSuggestions
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public class SpellCheckingProblemInfoWithSuggestions
extends SpellCheckingProblemInfo
-
Constructor Summary
ConstructorsConstructorDescriptionSpellCheckingProblemInfoWithSuggestions(int startOffset, int endOffset, String lang, String word, List<String> suggestions) Create spell checking result information for a word.SpellCheckingProblemInfoWithSuggestions(int startOffset, int endOffset, String lang, String word, List<String> suggestions, WebAuthorSpellcheckErrorTypes errorType, String errorMessage) Create spell checking result information for a word. -
Method Summary
Methods inherited from class ro.sync.ecss.extensions.api.SpellCheckingProblemInfo
getEndOffset, getErrorCode, getErrorMessage, getErrorType, getLanguageIsoName, getStartOffset, getSuggestions, getWord, toString
-
Constructor Details
-
SpellCheckingProblemInfoWithSuggestions
public SpellCheckingProblemInfoWithSuggestions(int startOffset, int endOffset, String lang, String word, List<String> suggestions) Create spell checking result information for a word.- Parameters:
startOffset- The start offset of the word.endOffset- The end offset of the word.lang- ISO Name for the language of the word.word- The word found at the offsets.suggestions- List of suggestions, should not be null.- Since:
- 21
-
SpellCheckingProblemInfoWithSuggestions
public SpellCheckingProblemInfoWithSuggestions(int startOffset, int endOffset, String lang, String word, List<String> suggestions, WebAuthorSpellcheckErrorTypes errorType, String errorMessage) Create spell checking result information for a word.- Parameters:
startOffset- The start offset of the word.endOffset- The end offset of the word.lang- ISO Name for the language of the word.word- The word found at the offsets.suggestions- List of suggestions, should not be null.errorType- The error type.errorMessage- Error message for the word.- Since:
- 28
**************************************
EXPERIMENTAL - Subject to change
**************************************
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
-