com.jspell.domain.net
Class JSpellIFrameTools

java.lang.Object
  extended by com.jspell.domain.net.JSpellTools
      extended by com.jspell.domain.net.JSpellIFrameTools

public class JSpellIFrameTools
extends JSpellTools

A helper class for the JSpell IFrame spell checker.


Field Summary
static JSpellIFrameTools tools
          An instance of JSpellIFrameTools.
 
Fields inherited from class com.jspell.domain.net.JSpellTools
bannerPrinted, cacheSize, defaultProxy, dictionaryPath, indexReady, softwareID
 
Constructor Summary
JSpellIFrameTools()
          Creates a new instance of JSpellIFrameTools
 
Method Summary
 java.lang.String getErrors(javax.servlet.ServletRequest request, boolean confirmAfterLearn, boolean confirmAfterReplace, java.lang.String supplementalDictionary, java.lang.String language)
          Generates the JavaScript used in the JSpell HTML Pro spell checker dialog.
static JSpellIFrameTools getJSpellTools()
          Get the instance of the JSpellIFrameTools class.
 
Methods inherited from class com.jspell.domain.net.JSpellTools
getImagePath, getLanguage, getProxy, getStyleSheetURL, getSupplementalDictionary, indexSetup, loadSupplementalDictionary, setCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tools

public static JSpellIFrameTools tools
An instance of JSpellIFrameTools.

Constructor Detail

JSpellIFrameTools

public JSpellIFrameTools()
Creates a new instance of JSpellIFrameTools

Method Detail

getJSpellTools

public static JSpellIFrameTools getJSpellTools()
Get the instance of the JSpellIFrameTools class.

Returns:
A JSpellIFrameTools object.

getErrors

public java.lang.String getErrors(javax.servlet.ServletRequest request,
                                  boolean confirmAfterLearn,
                                  boolean confirmAfterReplace,
                                  java.lang.String supplementalDictionary,
                                  java.lang.String language)
                           throws JSpellException
Generates the JavaScript used in the JSpell HTML Pro spell checker dialog.

Parameters:
confirmAfterReplace - true or false.
request - a ServletRequest object.
confirmAfterLearn - true or false.
supplementalDictionary - a String.
language - a String.
Returns:
a String.
Throws:
JSpellException - an object containing JSpell exception information.


JSpell SDK - Spell Checker for the Java ™ Platform
Copyright © 2009 Page Scholar Inc, All Rights Reserved - http://www.jspell.com