Package com.itextpdf.tool.xml.html
Class OrderedUnorderedListItem
java.lang.Object
com.itextpdf.tool.xml.html.AbstractTagProcessor
com.itextpdf.tool.xml.html.OrderedUnorderedListItem
- All Implemented Interfaces:
CssAppliersAware
,TagProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontent
(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.end
(WorkerContext ctx, Tag tag, List<Element> currentContent) Classes extending AbstractTagProcessor should override this method for actions that should be done inTagProcessor.endElement(WorkerContext, Tag, List)
.boolean
Defaults to false.Methods inherited from class com.itextpdf.tool.xml.html.AbstractTagProcessor
createParagraph, currentContentToParagraph, currentContentToParagraph, doRtlIndentCorrections, endElement, getCssAppliers, getCSSResolver, getHtmlPipelineContext, getRunDirection, invertTextAlignForParagraph, invertTextAlignForParagraph, setCssAppliers, start, startElement, textContent, updateParagraphFontIfNeeded
-
Constructor Details
-
OrderedUnorderedListItem
public OrderedUnorderedListItem()
-
-
Method Details
-
content
Description copied from interface:TagProcessor
This method is called if there is text content encountered between the opening and closing tags this TagProcessor is mapped to.- Specified by:
content
in interfaceTagProcessor
- Overrides:
content
in classAbstractTagProcessor
- Parameters:
ctx
- the WorkerContexttag
- the tag encounteredcontent
- the text content between the tags this TagProcessor is mapped to.- Returns:
- the element to add to the currentContent list
-
end
Description copied from class:AbstractTagProcessor
Classes extending AbstractTagProcessor should override this method for actions that should be done inTagProcessor.endElement(WorkerContext, Tag, List)
. TheAbstractTagProcessor.endElement(WorkerContext, Tag, List)
calls this method after or before doing certain stuff, (see it's description).- Overrides:
end
in classAbstractTagProcessor
- Parameters:
ctx
- the WorkerContexttag
- the tagcurrentContent
- the content created from e.g. inner tags, inner content and not yet added to document.- Returns:
- a List containing iText Element objects
-
isStackOwner
public boolean isStackOwner()Description copied from class:AbstractTagProcessor
Defaults to false.- Specified by:
isStackOwner
in interfaceTagProcessor
- Overrides:
isStackOwner
in classAbstractTagProcessor
- Returns:
- true if the tag implementation must keep it's own currentContent stack.
- See Also:
-