Class OptionTagWorker
java.lang.Object
com.itextpdf.html2pdf.attach.impl.tags.DivTagWorker
com.itextpdf.html2pdf.attach.impl.tags.OptionTagWorker
- All Implemented Interfaces:
-
IDisplayAware,ITagWorker
TagWorker class for the
option element.
-
Field Summary
Fields inherited from class com.itextpdf.html2pdf.attach.impl.tags.DivTagWorker
multicolContainer -
Constructor Summary
ConstructorsConstructorDescriptionOptionTagWorker(com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context) Creates a newOptionTagWorkerinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocessContent(String content, ProcessorContext context) Placeholder for what needs to be done while the content of a tag is being processed.voidprocessEnd(com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context) Placeholder for what needs to be done after the content of a tag has been processed.booleanprocessTagChild(ITagWorker childTagWorker, ProcessorContext context) Placeholder for what needs to be done when a child node is being processed.Methods inherited from class com.itextpdf.html2pdf.attach.impl.tags.DivTagWorker
addBlockChild, getDisplay, getElementResult, postProcessInlineGroup
-
Constructor Details
-
OptionTagWorker
public OptionTagWorker(com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context) Creates a newOptionTagWorkerinstance.- Parameters:
-
element- the element -
context- the context
-
-
Method Details
-
processEnd
public void processEnd(com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context) Description copied from interface:ITagWorkerPlaceholder for what needs to be done after the content of a tag has been processed.- Specified by:
-
processEndin interfaceITagWorker - Overrides:
-
processEndin classDivTagWorker - Parameters:
-
element- the element node -
context- the processor context
-
processContent
Description copied from interface:ITagWorkerPlaceholder for what needs to be done while the content of a tag is being processed.- Specified by:
-
processContentin interfaceITagWorker - Overrides:
-
processContentin classDivTagWorker - Parameters:
-
content- the content of a node -
context- the processor context - Returns:
- true, if content was successfully processed, otherwise false.
-
processTagChild
Description copied from interface:ITagWorkerPlaceholder for what needs to be done when a child node is being processed.- Specified by:
-
processTagChildin interfaceITagWorker - Overrides:
-
processTagChildin classDivTagWorker - Parameters:
-
childTagWorker- the tag worker of the child node -
context- the processor context - Returns:
- true, if child was successfully processed, otherwise false.
-