public class SpellingSessionAdapter
extends java.lang.Object
Constructor and Description |
---|
SpellingSessionAdapter(WebClientSession wcs,
java.lang.String spellString) |
Modifier and Type | Method and Description |
---|---|
com.wintertree.ssce.Lexicon[] |
getLexicons()
Get the Spelling lexicons associated with this Spelling Session object
|
int |
getNumOfWordsReplaced()
Returns the number of words replaced in this spelling session
|
com.wintertree.ssce.SpellingSession |
getSpeller()
Returns the Spelling session object
|
java.lang.String |
getSpellingError(java.lang.String error)
Retrieve the spelling error message for the given key
|
java.lang.String |
getSpellString()
Returns the string on which the spell checker is to be run
|
com.wintertree.ssce.StringWordParser |
getWordParser()
Returns the String Word Parser associated with this Spelling Session
object
|
void |
init()
Initialize this SpellingSessionAdapter.
|
void |
setNumOfWordsReplaced(int numOfWordsReplaced)
Set the number of words replaced in this spelling session
|
public SpellingSessionAdapter(WebClientSession wcs, java.lang.String spellString) throws MXException
MXException
public void init() throws MXException
MXException
- Maximo Exceptionpublic com.wintertree.ssce.Lexicon[] getLexicons()
public com.wintertree.ssce.SpellingSession getSpeller()
public java.lang.String getSpellString()
public com.wintertree.ssce.StringWordParser getWordParser()
public int getNumOfWordsReplaced()
public void setNumOfWordsReplaced(int numOfWordsReplaced)
numOfWordsReplaced
- number of words replaced in this spelling sessionpublic java.lang.String getSpellingError(java.lang.String error)
error
- error key