|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of CustomContextpublic interface Pipeline<T extends CustomContext>
| Method Summary | |
|---|---|
Pipeline<?> |
close(WorkerContext context,
Tag t,
ProcessObject po)
Called when a closing tag has been encountered. |
Pipeline<?> |
content(WorkerContext context,
Tag t,
String content,
ProcessObject po)
Called when content has been encountered. |
Pipeline<?> |
getNext()
Returns the next pipeline in line. |
Pipeline<?> |
init(WorkerContext context)
The init method allows implementation to initialize the pipeline. |
Pipeline<?> |
open(WorkerContext context,
Tag t,
ProcessObject po)
Called when an opening tag has been encountered. |
| Method Detail |
|---|
Pipeline<?> init(WorkerContext context)
throws PipelineException
WorkerContext.put(String, CustomContext).
context - the WorkerContext
PipelineException - can be thrown to indicate that something went wrong.
Pipeline<?> open(WorkerContext context,
Tag t,
ProcessObject po)
throws PipelineException
context - the WorkerContextt - the Tagpo - a processObject to put Writables in
PipelineException - can be thrown to indicate that something went wrong.
Pipeline<?> content(WorkerContext context,
Tag t,
String content,
ProcessObject po)
throws PipelineException
context - the WorkerContextt - the Tagcontent - the contentpo - a processObject to put Writables in
PipelineException - can be thrown to indicate that something went wrong.
Pipeline<?> close(WorkerContext context,
Tag t,
ProcessObject po)
throws PipelineException
context - the WorkerContextt - the Tagpo - a processObject to put Writables in
PipelineException - can be thrown to indicate that something went wrong.Pipeline<?> getNext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||