java.lang.Object | |
↳ | org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.ElementStack |
Element stack. This stack operates without synchronization, error checking, and it re-uses objects instead of throwing popped items away.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
fElements | The stack data. | ||||||||||
fSize | The size of the stack. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clears the stack without throwing away existing QName objects.
| |||||||||||
Pops an element off of the stack by setting the values of
the specified QName.
| |||||||||||
Pushes an element on the stack.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The size of the stack.
Default constructor.
Clears the stack without throwing away existing QName objects.
Pops an element off of the stack by setting the values of the specified QName.
Note: The object returned is not orphaned to the caller. Therefore, the caller should consider the object to be read-only.
Pushes an element on the stack.
Note: The QName values are copied into the stack. In other words, the caller does not orphan the element to the stack. Also, the QName object returned is not orphaned to the caller. It should be considered read-only.
element | The element to push onto the stack. |
---|