|
||||||||||
| 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.html.AutoDocPipeline
@Experimental(value="Untested for a while, forgot about it\'s existance - thus, not yet documented") public class AutoDocPipeline
This pipeline can automagically create documents. Allowing you to parse
continuously, without needing to renew the configuration. This class does
expect PdfWriterPipeline to be the last pipe of the line. If a
HtmlPipeline is available it's context will also be reset.
| Constructor Summary | |
|---|---|
AutoDocPipeline(FileMaker fm,
String tag,
String opentag,
Rectangle pagesize)
Constructor |
|
| Method Summary | |
|---|---|
Pipeline<?> |
close(WorkerContext context,
Tag t,
ProcessObject po)
Just calls getNext. Override this to get notified on encountered closing tags. |
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 |
|---|
content, 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 AutoDocPipeline(FileMaker fm,
String tag,
String opentag,
Rectangle pagesize)
fm - a FileMaker to provide a stream for every new documenttag - the tag on with to create a new document and close itopentag - the tag on which to open the document ( Document.open()pagesize - the pagesize for the documents| 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<?> 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 | |||||||||