RapidSpell Web


com.keyoti.rapidSpell.web
Class RapidSpellWInlineHelperBean

java.lang.Object
  extended by com.keyoti.rapidSpell.web.Control
      extended by com.keyoti.rapidSpell.web.RapidSpellWInlineHelperBean

public class RapidSpellWInlineHelperBean
extends Control


Constructor Summary
RapidSpellWInlineHelperBean()
           
 
Method Summary
 void addLicenseKey(java.lang.String value)
          Adds alternative license keys.
 java.lang.String getAssumedApplicationEncoding()
          The encoding that RapidSpell will assume the application is configured to use.
 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.
protected  void Render(java.io.Writer output)
           
static java.lang.String replace(java.lang.String aInput, java.lang.String aOldPattern, java.lang.String aNewPattern)
           
 void setAssumedApplicationEncoding(java.lang.String value)
          The encoding that RapidSpell will assume the application is configured to use.
 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 writeHtml(java.io.Writer output, javax.servlet.ServletRequest r, javax.servlet.ServletContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RapidSpellWInlineHelperBean

public RapidSpellWInlineHelperBean()
Method Detail

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.


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.


getLicenseKey

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


setLicenseKey

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


addLicenseKey

public void addLicenseKey(java.lang.String value)
Adds alternative license keys.


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.


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.


writeHtml

public void writeHtml(java.io.Writer output,
                      javax.servlet.ServletRequest r,
                      javax.servlet.ServletContext context)
               throws java.io.IOException
Throws:
java.io.IOException

Render

protected void Render(java.io.Writer output)
               throws java.io.IOException
Throws:
java.io.IOException

getAssumedApplicationEncoding

public java.lang.String getAssumedApplicationEncoding()
The encoding that RapidSpell will assume the application is configured to use. Eg. the default for some application servers is 8859-1 however we default to UTF-8.


setAssumedApplicationEncoding

public void setAssumedApplicationEncoding(java.lang.String value)
The encoding that RapidSpell will assume the application is configured to use. Eg. the default for some application servers is 8859-1 (our default), but if yours is UTF-8, change this property to "UTF-8".


replace

public static java.lang.String replace(java.lang.String aInput,
                                       java.lang.String aOldPattern,
                                       java.lang.String aNewPattern)

RapidSpell Web


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