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
ConstructorDescriptionHrTagWorker
(com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context) Creates a newHrTagWorker
instance. -
Method Summary
Modifier and TypeMethodDescriptioncom.itextpdf.layout.IPropertyContainer
Gets a processed object if it can be expressed as anIPropertyContainer
instance.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 newHrTagWorker
instance.- Parameters:
-
element
- the element -
context
- the context
-
-
Method Details
-
getElementResult
public com.itextpdf.layout.IPropertyContainer getElementResult()Description copied from interface:ITagWorker
Gets a processed object if it can be expressed as anIPropertyContainer
instance.- Specified by:
-
getElementResult
in interfaceITagWorker
- Overrides:
-
getElementResult
in 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
.
-