public class Header extends AbstractTagProcessor
| Constructor and Description |
|---|
Header() |
| 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.
|
createParagraph, currentContentToParagraph, currentContentToParagraph, doRtlIndentCorrections, endElement, getCssAppliers, getCSSResolver, getHtmlPipelineContext, getRunDirection, invertTextAlignForParagraph, invertTextAlignForParagraph, setCssAppliers, start, startElement, textContent, updateParagraphFontIfNeededpublic List<Element> content(WorkerContext ctx, Tag tag, String content)
TagProcessorcontent in interface TagProcessorcontent in class AbstractTagProcessorctx - the WorkerContexttag - the tag encounteredcontent - the text content between the tags this TagProcessor is
mapped to.public List<Element> end(WorkerContext ctx, Tag tag, List<Element> currentContent)
AbstractTagProcessorTagProcessor.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 AbstractTagProcessorctx - the WorkerContexttag - the tagcurrentContent - the content created from e.g. inner tags, inner content and not yet added to document.public boolean isStackOwner()
AbstractTagProcessorisStackOwner in interface TagProcessorisStackOwner in class AbstractTagProcessorTagProcessor.isStackOwner()Copyright © 2019. All rights reserved.