|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.labs.minion.pipeline.StageAdapter
com.sun.labs.minion.pipeline.DropNumbersStage
public class DropNumbersStage
Drops any tokens that parse as integers. This stage should be inserted after the universal tokenizer. Since the tokenizer will split number characters apart from any punctuation, we'll only ever be examining integers here.
| Field Summary |
|---|
| Fields inherited from class com.sun.labs.minion.pipeline.StageAdapter |
|---|
downstream, name |
| Constructor Summary | |
|---|---|
DropNumbersStage()
|
|
| Method Summary | |
|---|---|
void |
token(Token t)
Processes a token from further up the pipeline. |
| Methods inherited from class com.sun.labs.minion.pipeline.StageAdapter |
|---|
defineField, dump, endDocument, endField, getDownstream, getName, newProperties, punctuation, savedData, setDownstream, setName, shutdown, startDocument, startField, text |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DropNumbersStage()
| Method Detail |
|---|
public void token(Token t)
token in interface Stagetoken in class StageAdaptert - The token to process.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||