|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.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.
Field Summary | |
protected QName[] |
fElements
The stack data. |
protected int |
fSize
The size of the stack. |
Constructor Summary | |
XMLDocumentFragmentScannerImpl.ElementStack()
Default constructor. |
Method Summary | |
void |
clear()
Clears the stack without throwing away existing QName objects. |
void |
popElement(QName element)
Pops an element off of the stack by setting the values of the specified QName. |
QName |
pushElement(QName element)
Pushes an element on the stack. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected QName[] fElements
protected int fSize
Constructor Detail |
public XMLDocumentFragmentScannerImpl.ElementStack()
Method Detail |
public QName pushElement(QName element)
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.public void popElement(QName element)
Note: The object returned is not orphaned to the caller. Therefore, the caller should consider the object to be read-only.
public void clear()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81b |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |