Class StackKeeper
- java.lang.Object
-
- com.itextpdf.tool.xml.pipeline.html.StackKeeper
-
public class StackKeeper extends Object
- Author:
- redlab_b
-
-
Constructor Summary
Constructors Constructor Description StackKeeper(Tag t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Element content)
Add an element to this keepers stack.void
add(Collection<? extends Element> elements)
Add all given elements to the stack, according to the natural order.List<Element>
getElements()
Tag
getTag()
-
-
-
Constructor Detail
-
StackKeeper
public StackKeeper(Tag t)
- Parameters:
t
- the tag
-
-
Method Detail
-
add
public void add(Element content)
Add an element to this keepers stack.- Parameters:
content
- the element to add
-
add
public void add(Collection<? extends Element> elements)
Add all given elements to the stack, according to the natural order.- Parameters:
elements
- collection of Element
-
getTag
public Tag getTag()
- Returns:
- the tag
-
-