|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.wallstreetwise.app.jspell.domain.net.JSpellV
public class JSpellV
Base class for the JSpellValidator and JSpellIFrameValidator classes.
| Field Summary | |
|---|---|
protected static java.lang.String |
dictionaryLocation
An instance of the JSpellDictionaryLocal associated with this validator. |
protected static JSpellValidator |
validator
An instance of JSpellValidator |
| Constructor Summary | |
|---|---|
JSpellV()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getDictionaryLocation()
Returns the JSpellDictionaryLocal object. |
boolean |
getForceUpperCase()
Should spell checker work in CAPS only mode? |
boolean |
getIgnoreDoubleWords()
Should repeated words be ignored for spell checking? |
boolean |
getIgnoreFirstCaps()
Should the first letter of a sentence or field be capitalized? |
boolean |
getIgnoreIrregularCaps()
Should sentence capitalization be ignored. |
boolean |
getIgnoreUpper()
Should words in UPPER CASE be ignored during spell checking? |
boolean |
getIgnoreWordsWithNumbers()
Should words with numbers be ignored for spell checking, e.g., H20? |
JSpellDictionaryManager |
getJSpellDictionaryManager()
Return an instance of the JSpellDictionaryManager. |
static boolean |
initManager()
Initializes the dictionaryManager. |
static java.lang.String |
newEncode(java.lang.String string)
|
static boolean |
setDictionaryLocation(java.lang.String dictionaryLocation)
Sets the location of the JSpell dictionaries. |
void |
setForceUpperCase(boolean newValue)
Should spell checker work in CAPS only mode? |
void |
setIgnoreDoubleWords(boolean newValue)
Should repeated words be ignored for spell checking? |
void |
setIgnoreFirstCaps(boolean newValue)
Should the first letter of a sentence or field be capitalized? |
void |
setIgnoreIrregularCaps(boolean newValue)
Should sentence capitalization be ignored. |
void |
setIgnoreUpper(boolean newValue)
Should words in UPPER CASE be ignored during spell checking? |
void |
setIgnoreWordsWithNumbers(boolean newValue)
Should words with numbers be ignored for spell checking, e.g., H20? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static JSpellValidator validator
protected static java.lang.String dictionaryLocation
| Constructor Detail |
|---|
public JSpellV()
| Method Detail |
|---|
public static boolean initManager()
public static java.lang.String newEncode(java.lang.String string)
public static boolean setDictionaryLocation(java.lang.String dictionaryLocation)
dictionaryLocation - The location of the JSpell dictionaries.
public static java.lang.String getDictionaryLocation()
public void setIgnoreIrregularCaps(boolean newValue)
newValue - true or false.public boolean getIgnoreIrregularCaps()
public void setIgnoreFirstCaps(boolean newValue)
newValue - true or false.public boolean getIgnoreFirstCaps()
public void setIgnoreUpper(boolean newValue)
newValue - true or false.public boolean getIgnoreUpper()
public void setIgnoreWordsWithNumbers(boolean newValue)
newValue - true or false.public boolean getIgnoreWordsWithNumbers()
public void setIgnoreDoubleWords(boolean newValue)
newValue - true or false.public boolean getIgnoreDoubleWords()
public void setForceUpperCase(boolean newValue)
newValue - true or false.public boolean getForceUpperCase()
public JSpellDictionaryManager getJSpellDictionaryManager()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||