|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.lint.HandlerStack
public class HandlerStack
Data structure which keeps track of the elements currently in scope during the SAX parse.
Constructor Summary | |
---|---|
HandlerStack()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HandlerStack()
Method Detail |
---|
public ElementHandler pop()
public void push(ElementHandler handler)
handler
- handler to pushpublic ElementHandler top()
public Ancestry getAncestry()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |