com.itextpdf.tool.xml.html
Class OrderedUnorderedList

java.lang.Object
  extended by com.itextpdf.tool.xml.html.AbstractTagProcessor
      extended by com.itextpdf.tool.xml.html.OrderedUnorderedList
All Implemented Interfaces:
CssAppliersAware, TagProcessor

public class OrderedUnorderedList
extends AbstractTagProcessor

Author:
Emiel Ackermann

Constructor Summary
OrderedUnorderedList()
           
 
Method Summary
 List<Element> end(WorkerContext ctx, Tag tag, List<Element> currentContent)
          Classes extending AbstractTagProcessor should override this method for actions that should be done in TagProcessor.endElement(WorkerContext, Tag, List).
 boolean isStackOwner()
          Defaults to false.
 
Methods inherited from class com.itextpdf.tool.xml.html.AbstractTagProcessor
content, createParagraph, currentContentToParagraph, currentContentToParagraph, doRtlIndentCorrections, endElement, getCssAppliers, getCSSResolver, getHtmlPipelineContext, getRunDirection, setCssAppliers, start, startElement, textContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderedUnorderedList

public OrderedUnorderedList()
Method Detail

end

public List<Element> end(WorkerContext ctx,
                         Tag tag,
                         List<Element> currentContent)
Description copied from class: AbstractTagProcessor
Classes extending AbstractTagProcessor should override this method for actions that should be done in TagProcessor.endElement(WorkerContext, Tag, List). The AbstractTagProcessor.endElement(WorkerContext, Tag, List) calls this method after or before doing certain stuff, (see it's description).

Overrides:
end in class AbstractTagProcessor
Parameters:
ctx - the WorkerContext
tag - the tag
currentContent - 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: AbstractTagProcessor
Defaults to false.

Specified by:
isStackOwner in interface TagProcessor
Overrides:
isStackOwner in class AbstractTagProcessor
Returns:
true if the tag implementation must keep it's own currentContent stack.
See Also:
TagProcessor.isStackOwner()


Copyright © 2015. All Rights Reserved.