Class StackKeeper
java.lang.Object
com.itextpdf.tool.xml.pipeline.html.StackKeeper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.getTag()
-
Field Details
-
tag
-
stack
-
-
Constructor Details
-
StackKeeper
- Parameters:
t
- the tag
-
-
Method Details
-
add
Add an element to this keepers stack.- Parameters:
content
- the element to add
-
getElements
- Returns:
- the elements in this stack
-
add
Add all given elements to the stack, according to the natural order.- Parameters:
elements
- collection of Element
-
getTag
- Returns:
- the tag
-