RapidSpell Web


com.keyoti.rapidSpell
Class AdvancedTextBoundary

java.lang.Object
  extended by com.keyoti.rapidSpell.AdvancedTextBoundary

public class AdvancedTextBoundary
extends java.lang.Object

Extends SimpleTextBoundary to included more advanced parsing.


Field Summary
 boolean ignoreXML
          Whether to ignore XML/HTML tags, false by default.
 int languageParsing
           
 boolean separateHyphenWords
           
protected  java.lang.String theText
           
 
Constructor Summary
AdvancedTextBoundary()
           
 
Method Summary
 int following(int offset)
           
protected  boolean isAtNonWhiteSpace(int position)
           
 boolean isBoundary(int offset)
           
 boolean isBoundaryLeft(int offset)
           
 boolean isBoundaryRight(int offset)
           
 int last()
           
 int preceding(int offset)
           
 void setText(java.lang.String t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ignoreXML

public boolean ignoreXML
Whether to ignore XML/HTML tags, false by default.


theText

protected java.lang.String theText

separateHyphenWords

public boolean separateHyphenWords

languageParsing

public int languageParsing
Constructor Detail

AdvancedTextBoundary

public AdvancedTextBoundary()
Method Detail

following

public int following(int offset)

preceding

public int preceding(int offset)

isAtNonWhiteSpace

protected boolean isAtNonWhiteSpace(int position)

last

public int last()

setText

public void setText(java.lang.String t)

isBoundaryRight

public boolean isBoundaryRight(int offset)

isBoundaryLeft

public boolean isBoundaryLeft(int offset)

isBoundary

public boolean isBoundary(int offset)

RapidSpell Web


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