public class NamespaceIterator extends java.lang.Object implements AxisIterator
NodeInfo.getDeclaredNamespaces(int[])| Modifier and Type | Class and Description |
|---|---|
static class |
NamespaceIterator.NamespaceNodeImpl
Inner class: a model-independent representation of a namespace node
|
ATOMIZABLE, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
NamespaceIterator(NodeInfo element,
NodeTest test) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance()
Get the next item in the sequence.
|
Item |
current()
Get the current item in the sequence.
|
SequenceIterator |
getAnother()
Get another iterator over the same sequence of items, positioned at the
start of the sequence
|
int[] |
getInScopeNamespaceCodes()
Get a list of in-scope namespace codes.
|
int |
getProperties()
Get properties of this iterator, as a bit-significant integer.
|
Item |
next()
Get the next item in the sequence.
|
int |
position()
Get the current position
|
public void advance()
public Item next()
next in interface AxisIteratornext in interface SequenceIteratorpublic Item current()
current in interface AxisIteratorcurrent in interface SequenceIteratorpublic int position()
position in interface AxisIteratorposition in interface SequenceIteratorpublic SequenceIterator getAnother()
getAnother in interface AxisIteratorgetAnother in interface SequenceIteratorpublic int getProperties()
getProperties in interface SequenceIteratorSequenceIterator.GROUNDED, SequenceIterator.LAST_POSITION_FINDER,
and SequenceIterator.LOOKAHEAD. It is always
acceptable to return the value zero, indicating that there are no known special properties.
It is acceptable for the properties of the iterator to change depending on its state.public int[] getInScopeNamespaceCodes()