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 | Description |
---|---|---|
protected Pipeline<?> |
XMLWorker.rootpPipe |
Modifier and Type | Method | 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,
java.lang.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 | Description |
---|---|
XMLWorker(Pipeline<?> pipeline,
boolean parseHtml) |
Constructs a new XMLWorker
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractPipeline<T extends CustomContext> |
Abstract class with default implementations.
|
Modifier and Type | Method | 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,
java.lang.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 | Description |
---|---|---|
void |
AbstractPipeline.setNext(Pipeline<?> next) |
setNext method.
|
Constructor | Description |
---|---|
AbstractPipeline(Pipeline<?> next) |
Modifier and Type | Class | Description |
---|---|---|
class |
CssResolverPipeline |
This Pipeline resolves CSS for the Tags it receives in
CssResolverPipeline.open(WorkerContext, Tag, ProcessObject) |
Modifier and Type | Method | Description |
---|---|---|
Pipeline<?> |
CssResolverPipeline.init(WorkerContext context) |
|
Pipeline<?> |
CssResolverPipeline.open(WorkerContext context,
Tag t,
ProcessObject po) |
Constructor | Description |
---|---|
CssResolverPipeline(CSSResolver cssResolver,
Pipeline<?> next) |
Modifier and Type | Class | 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 | Description |
---|---|---|
Pipeline |
ElementHandlerPipeline.close(WorkerContext context,
Tag t,
ProcessObject po) |
|
Pipeline<?> |
PdfWriterPipeline.close(WorkerContext context,
Tag t,
ProcessObject po) |
|
Pipeline<?> |
ElementHandlerPipeline.content(WorkerContext ctx,
Tag currentTag,
java.lang.String text,
ProcessObject po) |
|
Pipeline<?> |
PdfWriterPipeline.content(WorkerContext context,
Tag currentTag,
java.lang.String text,
ProcessObject po) |
|
Pipeline<?> |
PdfWriterPipeline.init(WorkerContext context) |
|
Pipeline |
ElementHandlerPipeline.open(WorkerContext context,
Tag t,
ProcessObject po) |
|
Pipeline<?> |
PdfWriterPipeline.open(WorkerContext context,
Tag t,
ProcessObject po) |
Constructor | Description |
---|---|
ElementHandlerPipeline(ElementHandler handler,
Pipeline next) |
Does not use a context.
|
PdfWriterPipeline(Pipeline<?> next) |
Modifier and Type | Class | 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 | Description |
---|---|---|
Pipeline<?> |
AutoDocPipeline.close(WorkerContext context,
Tag t,
ProcessObject po) |
|
Pipeline<?> |
HtmlPipeline.close(WorkerContext context,
Tag t,
ProcessObject po) |
|
Pipeline<?> |
HtmlPipeline.content(WorkerContext context,
Tag t,
java.lang.String text,
ProcessObject po) |
|
Pipeline<?> |
HtmlPipeline.init(WorkerContext context) |
|
Pipeline<?> |
AutoDocPipeline.open(WorkerContext context,
Tag t,
ProcessObject po) |
|
Pipeline<?> |
HtmlPipeline.open(WorkerContext context,
Tag t,
ProcessObject po) |
Constructor | Description |
---|---|
HtmlPipeline(HtmlPipelineContext hpc,
Pipeline<?> next) |
Copyright © 1998–2018. All rights reserved.