protected class XMLDocumentFragmentScannerImpl.ElementStack2 extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
fCount |
protected int |
fDepth |
protected int |
fLastDepth |
protected int |
fMark |
protected int |
fPosition |
protected QName[] |
fQName
The stack data.
|
| Constructor and Description |
|---|
XMLDocumentFragmentScannerImpl.ElementStack2()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the stack without throwing away existing QName objects.
|
QName |
getNext()
Note that this function is considerably different than nextElement()
This function just returns the previously stored elements
|
boolean |
matchElement(QName element)
Check if the element scanned during the start element
matches the stored element.
|
QName |
nextElement()
This function doesn't increase depth.
|
int |
popElement()
returns the current depth
|
void |
resize() |
protected QName[] fQName
protected int fDepth
protected int fCount
protected int fPosition
protected int fMark
protected int fLastDepth
public XMLDocumentFragmentScannerImpl.ElementStack2()
public void resize()
public boolean matchElement(QName element)
public QName nextElement()
public QName getNext()
public int popElement()
public void clear()
Copyright © 2018–2021 mhoffrogge. All rights reserved.