public class HandlerStack extends Object
Constructor and Description |
---|
HandlerStack() |
Modifier and Type | Method and Description |
---|---|
Ancestry |
getAncestry()
Returns an ancestry object for the handler at the top of this stack.
|
ElementHandler |
pop()
Pops a handler off the top of the stack.
|
void |
push(ElementHandler handler)
Pushes a new handler onto the stack.
|
ElementHandler |
top()
Returns the handler at the top of the list without removing it.
|
public ElementHandler pop()
public void push(ElementHandler handler)
handler
- handler to pushpublic ElementHandler top()
public Ancestry getAncestry()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.