|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.om.NamespaceIterator
This class provides an implementation of the namespace axis over any implementation
of the data model. It relies on element nodes to implement the method
NodeInfo.getDeclaredNamespaces(int[])
Nested Class Summary | |
static class |
NamespaceIterator.NamespaceNodeImpl
Inner class: a model-independent representation of a namespace node |
Field Summary |
Fields inherited from interface net.sf.saxon.om.SequenceIterator |
ATOMIZABLE, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD |
Constructor Summary | |
NamespaceIterator(NodeInfo element,
NodeTest test)
|
Method Summary | |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NamespaceIterator(NodeInfo element, NodeTest test)
Method Detail |
public void advance()
public Item next()
next
in interface AxisIterator
public Item current()
current
in interface AxisIterator
public int position()
position
in interface AxisIterator
public SequenceIterator getAnother()
getAnother
in interface AxisIterator
public int getProperties()
getProperties
in interface SequenceIterator
GROUNDED
, LAST_POSITION_FINDER
,
and 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |