pt.tumba.cluster
Class XMLWordFinder

java.lang.Object
  extended by pt.tumba.cluster.DefaultWordFinder
      extended by pt.tumba.cluster.XMLWordFinder

public class XMLWordFinder
extends DefaultWordFinder


Field Summary
 
Fields inherited from class pt.tumba.cluster.DefaultWordFinder
currentSegment, currentWord, currentWordPos, nextWord, nextWordPos, sentenceIterator, startsSentence, text
 
Constructor Summary
XMLWordFinder(java.lang.String inText)
           
 
Method Summary
 java.lang.String next()
          This method scans the text from the end of the last word, and returns a new Word object corresponding to the next word.
 
Methods inherited from class pt.tumba.cluster.DefaultWordFinder
current, currentSegment, getText, hasNext, ignore, ignore, ignore, ignore, init, isWordChar, isWordChar, nextSegment, replace, setSentenceIterator, setText, startsSentence, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLWordFinder

public XMLWordFinder(java.lang.String inText)
Method Detail

next

public java.lang.String next()
This method scans the text from the end of the last word, and returns a new Word object corresponding to the next word.

Overrides:
next in class DefaultWordFinder
Returns:
the next word.
Throws:
WordNotFoundException - search string contains no more words.