com.itextpdf.tool.xml.html
Class Body
java.lang.Object
com.itextpdf.tool.xml.html.AbstractTagProcessor
com.itextpdf.tool.xml.html.Body
- All Implemented Interfaces:
- CssAppliersAware, TagProcessor
public class Body
- extends AbstractTagProcessor
- Author:
- redlab_b
Constructor Summary |
Body()
|
Methods inherited from class com.itextpdf.tool.xml.html.AbstractTagProcessor |
createParagraph, currentContentToParagraph, currentContentToParagraph, doRtlIndentCorrections, end, endElement, getCssAppliers, getCSSResolver, getHtmlPipelineContext, getRunDirection, isStackOwner, setCssAppliers, startElement, textContent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Body
public Body()
content
public List<Element> content(WorkerContext ctx,
Tag tag,
String 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 interface TagProcessor
- Overrides:
content
in class AbstractTagProcessor
- 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
start
public List<Element> start(WorkerContext ctx,
Tag tag)
- Description copied from class:
AbstractTagProcessor
- Classes extending AbstractTagProcessor should override this method for actions that should be done in
TagProcessor.startElement(WorkerContext, Tag)
. The AbstractTagProcessor.startElement(WorkerContext, Tag)
calls this method
after or before doing certain stuff, (see it's description).
- Overrides:
start
in class AbstractTagProcessor
- Parameters:
ctx
- the WorkerContexttag
- the tag
- Returns:
- an element to be added to current content, may be null
Copyright © 2015. All Rights Reserved.