Uses of Interface
com.itextpdf.tool.xml.WorkerContext

Packages that use WorkerContext
com.itextpdf.tool.xml XMLWorker package provides a framework to parse XML to PDF with iText. 
com.itextpdf.tool.xml.html Everything to parse HTML tags to pdf used by the HtmlPipeline is in here. 
com.itextpdf.tool.xml.html.head TagProcessor implementations for tags in HTML head. 
com.itextpdf.tool.xml.html.table TagProcessor implementations for table tags. 
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.ctx Collection of CustomContext and WorkerContext implementations. 
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 
com.itextpdf.tool.xml.svg   
com.itextpdf.tool.xml.svg.tags   
 

Uses of WorkerContext in com.itextpdf.tool.xml
 

Methods in com.itextpdf.tool.xml that return WorkerContext
protected  WorkerContext XMLWorker.getLocalWC()
          Returns the local WorkerContext, beware: could be a newly initialized one, if XMLWorker.close() has been called before.
 

Methods in com.itextpdf.tool.xml with parameters of type WorkerContext
 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.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.
 

Uses of WorkerContext in com.itextpdf.tool.xml.html
 

Methods in com.itextpdf.tool.xml.html with parameters of type WorkerContext
 List<Element> Div.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> Span.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> OrderedUnorderedListItem.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> Body.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> ParaGraph.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> NonSanitizedTag.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> Header.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> Anchor.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> DummyTagProcessor.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> TagProcessor.content(WorkerContext ctx, Tag tag, String content)
          This method is called if there is text content encountered between the opening and closing tags this TagProcessor is mapped to.
 List<Element> AbstractTagProcessor.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> AbstractTagProcessor.currentContentToParagraph(List<Element> currentContent, boolean addNewLines, boolean applyCSS, Tag tag, WorkerContext ctx)
          Adds currentContent list to a paragraph element.
 List<Element> Image.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> Div.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> Break.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> HorizontalRule.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> Span.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> OrderedUnorderedListItem.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> Body.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> ParaGraph.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> NonSanitizedTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> Header.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> OrderedUnorderedList.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> Anchor.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> AbstractTagProcessor.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
          Classes extending AbstractTagProcessor should override this method for actions that should be done in TagProcessor.endElement(WorkerContext, Tag, List).
 List<Element> DummyTagProcessor.endElement(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> TagProcessor.endElement(WorkerContext ctx, Tag tag, List<Element> currentContent)
          This method is called when a closing tag has been encountered of the TagProcessor implementation that is mapped to the tag.
 List<Element> AbstractTagProcessor.endElement(WorkerContext ctx, Tag tag, List<Element> currentContent)
          Checks for CSS.Property.PAGE_BREAK_AFTER, if the value is always a Chunk.NEXTPAGE is added to the currentContentList after calling AbstractTagProcessor.end(WorkerContext, Tag, List).
 CSSResolver AbstractTagProcessor.getCSSResolver(WorkerContext context)
          Utility method that fetches the CSSResolver from the if any and if it uses the default key.
 HtmlPipelineContext AbstractTagProcessor.getHtmlPipelineContext(WorkerContext context)
          Utility method that fetches the HtmlPipelineContext used if any and if it uses the default key.
protected  void ParaGraph.processListItems(WorkerContext ctx, Tag tag, List<ListItem> listItems, List<Element> l)
           
protected  void ParaGraph.processParagraphItems(WorkerContext ctx, Tag tag, List<Element> paragraphItems, List<Element> l)
           
 List<Element> AbstractTagProcessor.start(WorkerContext ctx, Tag tag)
          Classes extending AbstractTagProcessor should override this method for actions that should be done in TagProcessor.startElement(WorkerContext, Tag).
 List<Element> DummyTagProcessor.startElement(WorkerContext ctx, Tag tag)
           
 List<Element> TagProcessor.startElement(WorkerContext ctx, Tag tag)
          This method is called when a tag has been encountered.
 List<Element> AbstractTagProcessor.startElement(WorkerContext ctx, Tag tag)
          Calculates any found font size to pt values and set it in the CSS before calling AbstractTagProcessor.start(WorkerContext, Tag).
Checks for CSS.Property.PAGE_BREAK_BEFORE, if the value is always a Chunk.NEXTPAGE added before the implementors AbstractTagProcessor.start(WorkerContext, Tag) method.
protected  List<Element> AbstractTagProcessor.textContent(WorkerContext ctx, Tag tag, String content)
           
 

Uses of WorkerContext in com.itextpdf.tool.xml.html.head
 

Methods in com.itextpdf.tool.xml.html.head with parameters of type WorkerContext
 List<Element> Title.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> Style.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> Link.start(WorkerContext ctx, Tag tag)
           
 List<Element> XML.start(WorkerContext ctx, Tag tag)
           
 List<Element> Meta.start(WorkerContext ctx, Tag tag)
           
 

Uses of WorkerContext in com.itextpdf.tool.xml.html.table
 

Methods in com.itextpdf.tool.xml.html.table with parameters of type WorkerContext
 List<Element> TableData.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> Table.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> TableRow.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> TableData.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 

Uses of WorkerContext in com.itextpdf.tool.xml.pipeline
 

Methods in com.itextpdf.tool.xml.pipeline with parameters of type WorkerContext
 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.
 T AbstractPipeline.getLocalContext(WorkerContext context)
          Returns the local context for this class using getContextKey, override this together with getContextKey to change the key usage in case you want to add multiple identical pipelines to the worker.
 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.
 

Uses of WorkerContext in com.itextpdf.tool.xml.pipeline.css
 

Methods in com.itextpdf.tool.xml.pipeline.css with parameters of type WorkerContext
 Pipeline<?> CssResolverPipeline.init(WorkerContext context)
           
 Pipeline<?> CssResolverPipeline.open(WorkerContext context, Tag t, ProcessObject po)
           
 

Uses of WorkerContext in com.itextpdf.tool.xml.pipeline.ctx
 

Classes in com.itextpdf.tool.xml.pipeline.ctx that implement WorkerContext
 class WorkerContextImpl
          The global WorkerContext, a storage for CustomContexts.
 

Uses of WorkerContext in com.itextpdf.tool.xml.pipeline.end
 

Methods in com.itextpdf.tool.xml.pipeline.end with parameters of type WorkerContext
 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, String text, ProcessObject po)
           
 Pipeline<?> PdfWriterPipeline.content(WorkerContext context, Tag currentTag, 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)
           
 

Uses of WorkerContext in com.itextpdf.tool.xml.pipeline.html
 

Methods in com.itextpdf.tool.xml.pipeline.html with parameters of type WorkerContext
 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)
           
 

Uses of WorkerContext in com.itextpdf.tool.xml.svg
 

Methods in com.itextpdf.tool.xml.svg with parameters of type WorkerContext
 void AbstractGraphicProcessor.addElementsToMemoryWithId(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 Pipeline<?> SvgPipeline.close(WorkerContext context, Tag t, ProcessObject po)
           
 Pipeline<?> PdfTemplatePipeline.close(WorkerContext context, Tag t, ProcessObject po)
           
 List<Element> AbstractGraphicProcessor.content(WorkerContext ctx, Tag tag, String content)
           
 Pipeline<?> SvgPipeline.content(WorkerContext context, Tag t, String text, ProcessObject po)
           
 Pipeline<?> PdfTemplatePipeline.content(WorkerContext context, Tag currentTag, String text, ProcessObject po)
           
 List<Element> AbstractGraphicProcessor.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
          Classes extending AbstractTagProcessor should override this method for actions that should be done in TagProcessor.endElement(WorkerContext, Tag, List).
 List<Element> AbstractGraphicProcessor.endElement(WorkerContext ctx, Tag tag, List<Element> currentContent)
          Checks for CSS.Property.PAGE_BREAK_AFTER, if the value is always a Chunk.NEXTPAGE is added to the currentContentList after calling AbstractTagProcessor.end(WorkerContext, Tag, List).
 CSSResolver AbstractGraphicProcessor.getCSSResolver(WorkerContext context)
          Utility method that fetches the CSSResolver from the if any and if it uses the default key.
 SvgPipelineContext AbstractGraphicProcessor.getSvgPipelineContext(WorkerContext context)
          Utility method that fetches the HtmlPipelineContext used if any and if it uses the default key.
 Pipeline<?> SvgPipeline.init(WorkerContext context)
           
 Pipeline<?> SvgPipeline.open(WorkerContext context, Tag t, ProcessObject po)
           
 Pipeline<?> PdfTemplatePipeline.open(WorkerContext context, Tag t, ProcessObject po)
           
 List<Element> AbstractGraphicProcessor.start(WorkerContext ctx, Tag tag)
          Classes extending AbstractTagProcessor should override this method for actions that should be done in TagProcessor.startElement(WorkerContext, Tag).
 List<Element> AbstractGraphicProcessor.startElement(WorkerContext ctx, Tag tag)
          Calculates any found font size to pt values and set it in the CSS before calling AbstractTagProcessor.start(WorkerContext, Tag).
Checks for CSS.Property.PAGE_BREAK_BEFORE, if the value is always a Chunk.NEXTPAGE added before the implementors AbstractTagProcessor.start(WorkerContext, Tag) method.
 

Uses of WorkerContext in com.itextpdf.tool.xml.svg.tags
 

Methods in com.itextpdf.tool.xml.svg.tags with parameters of type WorkerContext
 List<Element> TextSpanTag.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> GroupTag.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> TextTag.content(WorkerContext ctx, Tag tag, String content)
           
 List<Element> PolyTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> CircleTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> DefsTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> LineTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> TextPathTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> TextSpanTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> RectangleTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> GroupTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> EllipseTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> PathTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> TextTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
           
 List<Element> DefsTag.start(WorkerContext ctx, Tag tag)
           
 List<Element> UseTag.start(WorkerContext ctx, Tag tag)
           
 List<Element> TextSpanTag.start(WorkerContext ctx, Tag tag)
           
 List<Element> SvgTag.start(WorkerContext ctx, Tag tag)
           
 List<Element> GroupTag.start(WorkerContext ctx, Tag tag)
           
 List<Element> TextTag.start(WorkerContext ctx, Tag tag)
           
 



Copyright © 2012. All Rights Reserved.