public class XMLWordFinder extends AbstractWordFinder
currentWord, nextWord, sentenceIterator, startsSentence, text| Constructor and Description |
|---|
XMLWordFinder(java.lang.String inText)
Creates a new DefaultWordFinder object.
|
| Modifier and Type | Method and Description |
|---|---|
Word |
next()
This method scans the text from the end of the last word, and returns a
new Word object corresponding to the next word.
|
current, getText, hasNext, ignore, ignore, ignore, ignore, init, isWordChar, isWordChar, replace, setSentenceIterator, setText, startsSentence, toStringpublic XMLWordFinder(java.lang.String inText)
inText - the text to search.public Word next()
next in interface WordFindernext in class AbstractWordFinderWordNotFoundException - search string contains no more words.