|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.tool.xml.pipeline.AbstractPipeline
com.itextpdf.tool.xml.pipeline.end.ElementHandlerPipeline
public class ElementHandlerPipeline
As the PdfWriterPipeline but this one just passes everything on to an ElementHandler.
Allowing you to get all Writables at the end of the pipeline. (or in between)
| Constructor Summary | |
|---|---|
ElementHandlerPipeline(ElementHandler handler,
Pipeline next)
Does not use a context. |
|
| Method Summary | |
|---|---|
Pipeline |
close(WorkerContext context,
Tag t,
ProcessObject po)
Just calls getNext. Override this to get notified on encountered closing tags. |
Pipeline<?> |
content(WorkerContext ctx,
Tag currentTag,
String text,
ProcessObject po)
Just calls getNext. Override this to get notified on encountered content. |
Pipeline |
open(WorkerContext context,
Tag t,
ProcessObject po)
Just calls getNext. Override this to get notified on encountered opening tags. |
| Methods inherited from class com.itextpdf.tool.xml.pipeline.AbstractPipeline |
|---|
getContextKey, getLocalContext, getNext, init, setNext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ElementHandlerPipeline(ElementHandler handler,
Pipeline next)
handler - the ElementHandlernext - the next pipeline in line. (or null if none )| Method Detail |
|---|
public Pipeline open(WorkerContext context,
Tag t,
ProcessObject po)
throws PipelineException
AbstractPipeline
open in interface Pipelineopen in class AbstractPipelinecontext - the WorkerContextt - the Tagpo - a processObject to put Writables in
PipelineException - can be thrown to indicate that something went wrong.
public Pipeline<?> content(WorkerContext ctx,
Tag currentTag,
String text,
ProcessObject po)
throws PipelineException
AbstractPipeline
content in interface Pipelinecontent in class AbstractPipelinectx - the WorkerContextcurrentTag - the Tagtext - the contentpo - a processObject to put Writables in
PipelineException - can be thrown to indicate that something went wrong.
public Pipeline close(WorkerContext context,
Tag t,
ProcessObject po)
throws PipelineException
AbstractPipeline
close in interface Pipelineclose in class AbstractPipelinecontext - the WorkerContextt - the Tagpo - a processObject to put Writables in
PipelineException - can be thrown to indicate that something went wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||