T - the type of CustomContextAbstractPipeline, AutoDocPipeline, CssResolverPipeline, ElementHandlerPipeline, HtmlPipeline, PdfWriterPipelinepublic interface Pipeline<T extends CustomContext>
| Modifier and Type | Method | Description |
|---|---|---|
Pipeline<?> |
close(WorkerContext context,
Tag t,
ProcessObject po) |
Called when a closing tag has been encountered.
|
Pipeline<?> |
content(WorkerContext context,
Tag t,
java.lang.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.
|
Pipeline<?> init(WorkerContext context) throws PipelineException
WorkerContext.put(String, CustomContext).context - the WorkerContextPipelineException - 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 inPipelineException - can be thrown to indicate that something went wrong.Pipeline<?> content(WorkerContext context, Tag t, java.lang.String content, ProcessObject po) throws PipelineException
context - the WorkerContextt - the Tagcontent - the contentpo - a processObject to put Writables inPipelineException - 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 inPipelineException - can be thrown to indicate that something went wrong.Pipeline<?> getNext()
Copyright © 1998–2018. All rights reserved.