Class Image
java.lang.Object
com.itextpdf.tool.xml.html.AbstractTagProcessor
com.itextpdf.tool.xml.html.Image
- All Implemented Interfaces:
CssAppliersAware, TagProcessor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionend(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).booleanDefaults to false.Methods inherited from class AbstractTagProcessor
content, createParagraph, currentContentToParagraph, currentContentToParagraph, doRtlIndentCorrections, endElement, getCssAppliers, getCSSResolver, getHtmlPipelineContext, getRunDirection, invertTextAlignForParagraph, invertTextAlignForParagraph, setCssAppliers, start, startElement, textContent, updateParagraphFontIfNeeded
-
Field Details
-
utils
-
logger
-
-
Constructor Details
-
Image
public Image()
-
-
Method Details
-
end
Description copied from class:AbstractTagProcessorClasses 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:
endin 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:AbstractTagProcessorDefaults to false.- Specified by:
isStackOwnerin interfaceTagProcessor- Overrides:
isStackOwnerin classAbstractTagProcessor- Returns:
- true if the tag implementation must keep it's own currentContent stack.
- See Also:
-