Class SpellCheckResult


  • public class SpellCheckResult
    extends java.lang.Object
    Keeps track of an erroneous word with a list of suggested replacement words.
    Since:
    jcms-6.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.List<java.lang.String> suggestions  
      java.lang.String word  
    • Constructor Summary

      Constructors 
      Constructor Description
      SpellCheckResult​(java.lang.String word, java.lang.String[] array)  
      SpellCheckResult​(java.lang.String word, java.util.Enumeration<java.lang.String> enu)  
      SpellCheckResult​(java.lang.String word, java.util.List<java.lang.String> list)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • word

        public java.lang.String word
      • suggestions

        public java.util.List<java.lang.String> suggestions
    • Constructor Detail

      • SpellCheckResult

        public SpellCheckResult​(java.lang.String word,
                                java.util.List<java.lang.String> list)
      • SpellCheckResult

        public SpellCheckResult​(java.lang.String word,
                                java.util.Enumeration<java.lang.String> enu)
      • SpellCheckResult

        public SpellCheckResult​(java.lang.String word,
                                java.lang.String[] array)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object