|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.egothor.core.Filter
org.egothor.parser.filter.StopFilter
public abstract class StopFilter
This abstract class should be extended by any class wishing to ignore certain tokens while processing all tokens.
Field Summary |
---|
Fields inherited from class org.egothor.core.Filter |
---|
prev |
Constructor Summary | |
---|---|
StopFilter(Sequence<Token> arg0)
Constructor for the StopFilter object. |
Method Summary | |
---|---|
abstract boolean |
isStoppedToken(Token t)
Test whether a token should be processed or ignored. |
Token |
next()
Return the next token. |
Methods inherited from class org.egothor.core.Filter |
---|
action, getPrevTokenizer, setPrevTokenizer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StopFilter(Sequence<Token> arg0)
arg0
- Description of the ParameterMethod Detail |
---|
public abstract boolean isStoppedToken(Token t)
t
- the Token to check
public Token next()
next
in interface Sequence<Token>
next
in class Filter
org.egothor.core.Tokenizer#next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |