CssAppliersAware
, TagProcessor
public class Body extends AbstractTagProcessor
Constructor | Description |
---|---|
Body() |
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> |
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, 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> 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 WorkerContexttag
- the tagCopyright © 1998–2018. All rights reserved.