CssAppliersAware
, TagProcessor
public class TableData extends AbstractTagProcessor
Constructor | Description |
---|---|
TableData() |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Element> |
content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
This method is called if there is text content encountered between the
opening and closing tags this TagProcessor is mapped to.
|
java.util.List<Element> |
end(WorkerContext ctx,
Tag tag,
java.util.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(java.util.List<Element> chunks,
HtmlCell cell) |
|
protected void |
processListItems(WorkerContext ctx,
Tag tag,
java.util.List<ListItem> listItems,
HtmlCell cell) |
createParagraph, currentContentToParagraph, currentContentToParagraph, doRtlIndentCorrections, endElement, getCssAppliers, getCSSResolver, getHtmlPipelineContext, getRunDirection, invertTextAlignForParagraph, invertTextAlignForParagraph, setCssAppliers, start, startElement, textContent, updateParagraphFontIfNeeded
public java.util.List<Element> content(WorkerContext ctx, Tag tag, java.lang.String content)
TagProcessor
content
in interface TagProcessor
content
in class AbstractTagProcessor
ctx
- the WorkerContexttag
- the tag encounteredcontent
- the text content between the tags this TagProcessor is
mapped to.public java.util.List<Element> end(WorkerContext ctx, Tag tag, java.util.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 WorkerContexttag
- the tagcurrentContent
- 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, java.util.List<ListItem> listItems, HtmlCell cell)
Copyright © 1998–2018. All rights reserved.