Package | Description |
---|---|
com.itextpdf.tool.xml |
XMLWorker package provides a framework to parse XML to PDF with iText.
|
com.itextpdf.tool.xml.pipeline |
The pipeline package contains the pipeline implementations
|
com.itextpdf.tool.xml.pipeline.css |
Contains CSS processing pipeline.
|
com.itextpdf.tool.xml.pipeline.end |
Contains pipelines that can be used as last pipe in the line.
|
com.itextpdf.tool.xml.pipeline.html |
Contains pipeline stuff for HTML
|
Modifier and Type | Field and Description |
---|---|
protected Pipeline> |
XMLWorker.rootpPipe |
Modifier and Type | Method and Description |
---|---|
Pipeline> |
Pipeline.close(WorkerContext context, Tag t, ProcessObject po)
Called when a closing tag has been encountered.
|
Pipeline> |
Pipeline.content(WorkerContext context, Tag t, String content, ProcessObject po)
Called when content has been encountered.
|
Pipeline> |
Pipeline.getNext()
Returns the next pipeline in line.
|
Pipeline> |
Pipeline.init(WorkerContext context)
The init method allows implementation to initialize the pipeline.
|
Pipeline> |
Pipeline.open(WorkerContext context, Tag t, ProcessObject po)
Called when an opening tag has been encountered.
|
Constructor and Description |
---|
XMLWorker(Pipeline> pipeline, boolean parseHtml)
Constructs a new XMLWorker
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPipeline
Abstract class with default implementations.
|
Modifier and Type | Method and Description |
---|---|
Pipeline> |
AbstractPipeline.close(WorkerContext context, Tag t, ProcessObject po)
Just calls getNext.
Override this to get notified on encountered closing tags. |
Pipeline> |
AbstractPipeline.content(WorkerContext ctx, Tag currentTag, String text, ProcessObject po)
Just calls getNext.
Override this to get notified on encountered content. |
Pipeline> |
AbstractPipeline.getNext() |
Pipeline> |
AbstractPipeline.init(WorkerContext context) |
Pipeline> |
AbstractPipeline.open(WorkerContext context, Tag t, ProcessObject po)
Just calls getNext.
Override this to get notified on encountered opening tags. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractPipeline.setNext(Pipeline> next)
setNext method.
|
Constructor and Description |
---|
AbstractPipeline(Pipeline> next) |
Modifier and Type | Class and Description |
---|---|
class |
CssResolverPipeline
This Pipeline resolves CSS for the Tags it receives in CssResolverPipeline.open(WorkerContext, Tag, ProcessObject)
|
Modifier and Type | Method and Description |
---|---|
Pipeline> |
CssResolverPipeline.init(WorkerContext context) |
Pipeline> |
CssResolverPipeline.open(WorkerContext context, Tag t, ProcessObject po) |
Constructor and Description |
---|
CssResolverPipeline(CSSResolver cssResolver, Pipeline> next) |
Modifier and Type | Class and Description |
---|---|
class |
ElementHandlerPipeline
As the PdfWriterPipeline but this one just passes everything on to an ElementHandler .
|
class |
PdfWriterPipeline
This pipeline writes to a Document.
|
Modifier and Type | Method and Description |
---|---|
Pipeline> |
PdfWriterPipeline.close(WorkerContext context, Tag t, ProcessObject po) |
Pipeline |
ElementHandlerPipeline.close(WorkerContext context, Tag t, ProcessObject po) |
Pipeline> |
PdfWriterPipeline.content(WorkerContext context, Tag currentTag, String text, ProcessObject po) |
Pipeline> |
ElementHandlerPipeline.content(WorkerContext ctx, Tag currentTag, String text, ProcessObject po) |
Pipeline> |
PdfWriterPipeline.init(WorkerContext context) |
Pipeline> |
PdfWriterPipeline.open(WorkerContext context, Tag t, ProcessObject po) |
Pipeline |
ElementHandlerPipeline.open(WorkerContext context, Tag t, ProcessObject po) |
Constructor and Description |
---|
ElementHandlerPipeline(ElementHandler handler, Pipeline next)
Does not use a context.
|
PdfWriterPipeline(Pipeline> next) |
Modifier and Type | Class and Description |
---|---|
class |
AutoDocPipeline
This pipeline can automagically create documents.
|
class |
HtmlPipeline
The HtmlPipeline transforms received tags and content to PDF Elements.
To configure this pipeline a HtmlPipelineContext .
|
Modifier and Type | Method and Description |
---|---|
Pipeline> |
HtmlPipeline.close(WorkerContext context, Tag t, ProcessObject po) |
Pipeline> |
AutoDocPipeline.close(WorkerContext context, Tag t, ProcessObject po) |
Pipeline> |
HtmlPipeline.content(WorkerContext context, Tag t, String text, ProcessObject po) |
Pipeline> |
HtmlPipeline.init(WorkerContext context) |
Pipeline> |
HtmlPipeline.open(WorkerContext context, Tag t, ProcessObject po) |
Pipeline> |
AutoDocPipeline.open(WorkerContext context, Tag t, ProcessObject po) |
Constructor and Description |
---|
HtmlPipeline(HtmlPipelineContext hpc, Pipeline> next) |
Copyright © 1998–2022. All rights reserved.