public class Body extends AbstractTagProcessor
| Constructor and Description |
|---|
Body() |
| 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> |
start(WorkerContext ctx, Tag tag)
Classes extending AbstractTagProcessor should override this method for actions that should be done in TagProcessor.startElement(WorkerContext, Tag).
|
createParagraph, currentContentToParagraph, currentContentToParagraph, doRtlIndentCorrections, end, endElement, getCssAppliers, getCSSResolver, getHtmlPipelineContext, getRunDirection, invertTextAlignForParagraph, invertTextAlignForParagraph, isStackOwner, setCssAppliers, startElement, textContent, updateParagraphFontIfNeededpublic 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> start(WorkerContext ctx, Tag tag)
AbstractTagProcessor
TagProcessor.startElement(WorkerContext, Tag). The AbstractTagProcessor.startElement(WorkerContext, Tag) calls this method after or before doing certain stuff, (see it's description).
start in class AbstractTagProcessor
ctx - the WorkerContext
tag - the tag
Copyright © 1998–2024. All rights reserved.