RapidSpell Web


com.keyoti.rapidSpell.web
Class RapidSpellWInlineHelper

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.keyoti.rapidSpell.web.RapidSpellWInlineHelper
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class RapidSpellWInlineHelper
extends javax.servlet.jsp.tagext.TagSupport

RapidSpellWInlineHelper Tag, performs spell check in AJAX requests

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
RapidSpellWInlineHelper()
          Creates a RapidSpell Launcher
 
Method Summary
 int doEndTag()
           
 int doStartTag()
          Renders this tag.
 boolean getCacheDictionary()
          Whether to cache the main dictionary, this will result in large performance gains.
 ICheckerEngine getCheckerEngine()
          The ICheckerEngine object to be used to check the text.
 java.lang.String getDictFilePath()
          The file path to the .dict file to use, optional.
 java.lang.String getId()
          The 'id' of this tag, this should be set to differentiate between tags when more than one is present on a page.
 java.lang.String getLicenseKey()
          The license key.
 void setCacheDictionary(boolean value)
          Whether to cache the main dictionary, this will result in large performance gains.
 void setCheckerEngine(ICheckerEngine value)
          The ICheckerEngine object to be used to check the text.
 void setDictFilePath(java.lang.String value)
          The file path to the .dict file to use, optional.
 void setId(java.lang.String value)
          The 'id' of this tag, this should be set to differentiate between tags when more than one is present on a page.
 void setLicenseKey(java.lang.String value)
          The license key.
 void setPageContext(javax.servlet.jsp.PageContext pageContext)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getParent, getValue, getValues, release, removeValue, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RapidSpellWInlineHelper

public RapidSpellWInlineHelper()
Creates a RapidSpell Launcher

Method Detail

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext pageContext)
Specified by:
setPageContext in interface javax.servlet.jsp.tagext.Tag
Overrides:
setPageContext in class javax.servlet.jsp.tagext.TagSupport

getId

public java.lang.String getId()
The 'id' of this tag, this should be set to differentiate between tags when more than one is present on a page.

Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport

setId

public void setId(java.lang.String value)
The 'id' of this tag, this should be set to differentiate between tags when more than one is present on a page.

Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport

getCheckerEngine

public ICheckerEngine getCheckerEngine()
The ICheckerEngine object to be used to check the text.

You should implement ICheckerEngine in your own class if you wish to customize parsing.


setCheckerEngine

public void setCheckerEngine(ICheckerEngine value)
The ICheckerEngine object to be used to check the text.

You should implement ICheckerEngine in your own class if you wish to customize parsing.


getDictFilePath

public java.lang.String getDictFilePath()
The file path to the .dict file to use, optional.


setDictFilePath

public void setDictFilePath(java.lang.String value)
The file path to the .dict file to use, optional.


getCacheDictionary

public boolean getCacheDictionary()
Whether to cache the main dictionary, this will result in large performance gains. WARNING, do not do this if using more than one dictionary across the application.


setCacheDictionary

public void setCacheDictionary(boolean value)
Whether to cache the main dictionary, this will result in large performance gains. WARNING, do not do this if using more than one dictionary across the application.


getLicenseKey

public java.lang.String getLicenseKey()
The license key.


setLicenseKey

public void setLicenseKey(java.lang.String value)
The license key.


doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Renders this tag.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspTagException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspTagException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspTagException

RapidSpell Web


Copyright © 2002-2013 Keyoti Inc. All Rights Reserved.