|
||||||||||
| 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.PrintTokenStage
public class PrintTokenStage
| Field Summary |
|---|
| Fields inherited from class com.sun.labs.minion.pipeline.StageAdapter |
|---|
downstream, name |
| Constructor Summary | |
|---|---|
PrintTokenStage()
|
|
PrintTokenStage(java.lang.String out)
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
startDocument(java.lang.String key)
Process the event that occurs at the start of a document. |
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, startField, text |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrintTokenStage()
public PrintTokenStage(java.lang.String out)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void startDocument(java.lang.String key)
StageAdapter
startDocument in interface StagestartDocument in class StageAdapterkey - The document key for this document.public void token(Token t)
token in interface Stagetoken in class StageAdaptert - The token to process.public void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||