public class TableData extends AbstractTagProcessor
Constructor and Description |
---|
TableData() |
Modifier and Type | Method and Description |
---|---|
List<Element> |
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> |
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) .
|
boolean |
isStackOwner()
Defaults to false.
|
protected void |
processChunkItems(List<Element> chunks, HtmlCell cell) |
protected void |
processListItems(WorkerContext ctx, Tag tag, List<ListItem> listItems, HtmlCell cell) |
createParagraph, currentContentToParagraph, currentContentToParagraph, doRtlIndentCorrections, endElement, getCssAppliers, getCSSResolver, getHtmlPipelineContext, getRunDirection, invertTextAlignForParagraph, invertTextAlignForParagraph, setCssAppliers, start, startElement, textContent, updateParagraphFontIfNeeded
public List<Element> content(WorkerContext ctx, Tag tag, String content)
TagProcessor
content
in interface TagProcessor
content
in class AbstractTagProcessor
ctx
- the WorkerContext
tag
- the tag encountered
content
- the text content between the tags this TagProcessor is mapped to.
public List<Element> end(WorkerContext ctx, Tag tag, List<Element> currentContent)
AbstractTagProcessor
TagProcessor.endElement(WorkerContext, Tag, List)
. The AbstractTagProcessor.endElement(WorkerContext, Tag, List)
calls this method after or before doing certain stuff, (see it's description).
end
in class AbstractTagProcessor
ctx
- the WorkerContext
tag
- the tag
currentContent
- the content created from e.g. inner tags, inner content and not yet added to document.
public boolean isStackOwner()
AbstractTagProcessor
isStackOwner
in interface TagProcessor
isStackOwner
in class AbstractTagProcessor
TagProcessor.isStackOwner()
protected void processListItems(WorkerContext ctx, Tag tag, List<ListItem> listItems, HtmlCell cell)
Copyright © 1998–2018. All rights reserved.