public class StackKeeper
extends java.lang.Object
List to put Elements in that are created by inner tags of the given Tag.| Constructor | Description |
|---|---|
StackKeeper(Tag t) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(Element content) |
Add an element to this keepers stack.
|
void |
add(java.util.Collection<? extends Element> elements) |
Add all given elements to the stack, according to the natural order.
|
java.util.List<Element> |
getElements() |
|
Tag |
getTag() |
public StackKeeper(Tag t)
t - the tagpublic void add(Element content)
content - the element to addpublic java.util.List<Element> getElements()
public void add(java.util.Collection<? extends Element> elements)
elements - collection of Elementpublic Tag getTag()
Copyright © 1998–2018. All rights reserved.