public class State extends Object
ITagWorker instances to and from the Stack.
| Constructor and Description |
|---|
State()
Instantiates a new State instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
empty()
Checks if the stack is empty.
|
Stack<ITagWorker> |
getStack()
Gets the stack.
|
ITagWorker |
pop()
Pops a ITagWorker from the stack.
|
void |
push(ITagWorker tagWorker)
Pushes a ITagWorker instance to the stack.
|
ITagWorker |
top()
Peeks at the ITagWorker at the top of the stack.
|
public State()
State instance.
public Stack<ITagWorker> getStack()
public void push(ITagWorker tagWorker)
ITagWorker instance to the stack.
tagWorker - the tag worker
public ITagWorker pop()
ITagWorker from the stack.
public ITagWorker top()
ITagWorker at the top of the stack.
public boolean empty()
Copyright © 1998–2019 iText Group NV. All rights reserved.