org.apache.xalan.xsltc.dom
Class SAXImpl.NamespaceWildcardIterator
- SAXImpl
- Cloneable, DTMAxisIterator
public final class SAXImpl.NamespaceWildcardIterator
Iterator that handles node tests that test for a namespace, but have
a wild card for the local name of the node, i.e., node tests of the
form
:::*
DTMAxisIterator | cloneIterator()- Returns a deep copy of this iterator.
|
void | gotoMark()- Restores the current node remembered by setMark().
|
boolean | isReverse()- True if this iterator has a reversed axis.
|
int | next()- Get the next node in the iteration.
|
void | setMark()- Remembers the current node for the next call to gotoMark().
|
DTMAxisIterator | setStartNode(int node)- Set start to END should 'close' the iterator,
i.e. subsequent call to next() should return END.
|
cloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, reset, setRestartable |
NamespaceWildcardIterator
public NamespaceWildcardIterator(int axis,
int nsType) Constructor NamespaceWildcard
axis - The axis that this iterator will traversensType - The namespace type index
next
public int next()
Get the next node in the iteration.
- next in interface DTMAxisIterator
- The next node handle in the iteration, or END.
setStartNode
public DTMAxisIterator setStartNode(int node)
Set start to END should 'close' the iterator,
i.e. subsequent call to next() should return END.
- setStartNode in interface DTMAxisIterator
node - Sets the root of the iteration.
- A DTMAxisIterator set to the start of the iteration.
Copyright B) 2004 Apache XML Project. All Rights Reserved.