Class HrTagWorker
java.lang.Object
com.itextpdf.html2pdf.attach.impl.tags.DivTagWorker
com.itextpdf.html2pdf.attach.impl.tags.HrTagWorker
- All Implemented Interfaces:
-
IDisplayAware,ITagWorker
TagWorker class for the
hr element.
-
Field Summary
Fields inherited from class com.itextpdf.html2pdf.attach.impl.tags.DivTagWorker
multicolContainer -
Constructor Summary
ConstructorsConstructorDescriptionHrTagWorker(com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context) Creates a newHrTagWorkerinstance. -
Method Summary
Modifier and TypeMethodDescriptioncom.itextpdf.layout.IPropertyContainerGets a processed object if it can be expressed as anIPropertyContainerinstance.Methods inherited from class com.itextpdf.html2pdf.attach.impl.tags.DivTagWorker
addBlockChild, getDisplay, postProcessInlineGroup, processContent, processEnd, processTagChild
-
Constructor Details
-
HrTagWorker
public HrTagWorker(com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context) Creates a newHrTagWorkerinstance.- Parameters:
-
element- the element -
context- the context
-
-
Method Details
-
getElementResult
public com.itextpdf.layout.IPropertyContainer getElementResult()Description copied from interface:ITagWorkerGets a processed object if it can be expressed as anIPropertyContainerinstance.- Specified by:
-
getElementResultin interfaceITagWorker - Overrides:
-
getElementResultin classDivTagWorker - Returns:
-
the same object on every call. Might return null either if result is not yet produced or if this particular tag worker doesn't produce result in a form of
IPropertyContainer.
-