|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.tool.xml.pipeline.AbstractPipeline<MapContext>
com.itextpdf.tool.xml.svg.PdfTemplatePipeline
public class PdfTemplatePipeline
This pipeline writes to a Document.
| Constructor Summary | |
|---|---|
PdfTemplatePipeline(PdfContentByte cb)
|
|
| 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 context,
Tag currentTag,
String text,
ProcessObject po)
Just calls getNext. Override this to get notified on encountered content. |
PdfTemplate |
getTemplate()
|
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 PdfTemplatePipeline(PdfContentByte cb)
doc - the documentwriter - the writer| Method Detail |
|---|
public Pipeline<?> open(WorkerContext context,
Tag t,
ProcessObject po)
throws PipelineException
AbstractPipeline
open in interface Pipeline<MapContext>open in class AbstractPipeline<MapContext>context - the WorkerContextt - the Tagpo - a processObject to put Writables in
PipelineException - can be thrown to indicate that something went wrong.
public Pipeline<?> content(WorkerContext context,
Tag currentTag,
String text,
ProcessObject po)
throws PipelineException
AbstractPipeline
content in interface Pipeline<MapContext>content in class AbstractPipeline<MapContext>context - 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 Pipeline<MapContext>close in class AbstractPipeline<MapContext>context - the WorkerContextt - the Tagpo - a processObject to put Writables in
PipelineException - can be thrown to indicate that something went wrong.public PdfTemplate getTemplate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||