Package com.day.cq.spellchecker
Class WordCheckResult
- java.lang.Object
-
- com.day.cq.spellchecker.WordCheckResult
-
public class WordCheckResult extends java.lang.Object
This class represents the spellchecking result of a single word.
-
-
Constructor Summary
Constructors Constructor Description WordCheckResult(boolean isCorrect, java.lang.String[] suggestions, java.lang.String language)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLanguage()
java.lang.String[]
getSuggestions()
boolean
isCorrect()
java.lang.String
toJsonString()
-
-
-
Method Detail
-
isCorrect
public boolean isCorrect()
-
getSuggestions
public java.lang.String[] getSuggestions()
-
getLanguage
public java.lang.String getLanguage()
-
toJsonString
public java.lang.String toJsonString() throws SpellCheckException
- Throws:
SpellCheckException
-
-