|
Devsphere.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.devsphere.xml.saxdomix.helpers.ElementStack
This is a stack implementation for DOM Element nodes.
It is used internally by the builder classes of the framework.
| Constructor Summary | |
ElementStack()
Creates a new empty stack. |
|
| Method Summary | |
void |
clear()
Removes all elements of this stack. |
boolean |
isEmpty()
Indicates whether this stack contains no elements. |
org.w3c.dom.Element |
peek()
Returns the element at the top of this stack without removing it. |
org.w3c.dom.Element |
pop()
Removes the element at the top of this stack and returns it. |
void |
push(org.w3c.dom.Element elem)
Pushes an element onto the top of this stack. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ElementStack()
| Method Detail |
public void push(org.w3c.dom.Element elem)
elem - The new top element for this stackpublic org.w3c.dom.Element pop()
public org.w3c.dom.Element peek()
public void clear()
public boolean isEmpty()
true if this stack is empty;
false otherwise
|
Devsphere.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||