com.itextpdf.tool.xml.svg
Class PdfTemplatePipeline
java.lang.Object
com.itextpdf.tool.xml.pipeline.AbstractPipeline<MapContext>
com.itextpdf.tool.xml.svg.PdfTemplatePipeline
- All Implemented Interfaces:
- Pipeline<MapContext>
public class PdfTemplatePipeline
- extends AbstractPipeline<MapContext>
This pipeline writes to a Document.
- Author:
- redlab_b
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PdfTemplatePipeline
public PdfTemplatePipeline(PdfContentByte cb)
- Parameters:
doc - the documentwriter - the writer
open
public Pipeline<?> open(WorkerContext context,
Tag t,
ProcessObject po)
throws PipelineException
- Description copied from class:
AbstractPipeline
- Just calls getNext.
Override this to get notified on encountered opening tags.
- Specified by:
open in interface Pipeline<MapContext>- Overrides:
open in class AbstractPipeline<MapContext>
- Parameters:
context - the WorkerContextt - the Tagpo - a processObject to put Writables in
- Returns:
- the next pipeline in line
- Throws:
PipelineException - can be thrown to indicate that something went wrong.
content
public Pipeline<?> content(WorkerContext context,
Tag currentTag,
String text,
ProcessObject po)
throws PipelineException
- Description copied from class:
AbstractPipeline
- Just calls getNext.
Override this to get notified on encountered content.
- Specified by:
content in interface Pipeline<MapContext>- Overrides:
content in class AbstractPipeline<MapContext>
- Parameters:
context - the WorkerContextcurrentTag - the Tagtext - the contentpo - a processObject to put Writables in
- Returns:
- the next pipeline in line
- Throws:
PipelineException - can be thrown to indicate that something went wrong.
close
public Pipeline<?> close(WorkerContext context,
Tag t,
ProcessObject po)
throws PipelineException
- Description copied from class:
AbstractPipeline
- Just calls getNext.
Override this to get notified on encountered closing tags.
- Specified by:
close in interface Pipeline<MapContext>- Overrides:
close in class AbstractPipeline<MapContext>
- Parameters:
context - the WorkerContextt - the Tagpo - a processObject to put Writables in
- Returns:
- the next pipeline in line
- Throws:
PipelineException - can be thrown to indicate that something went wrong.
getTemplate
public PdfTemplate getTemplate()
Copyright © 2013. All Rights Reserved.