org.apache.xalan.xsltc.dom

Class SimpleResultTreeImpl.SimpleIterator

public final class SimpleResultTreeImpl.SimpleIterator extends DTMAxisIteratorBase

The SimpleIterator is designed to support the nodeset() extension function. It has a traversal direction parameter. The DOWN direction is used for child and descendant axes, while the UP direction is used for parent and ancestor axes. This iterator only handles two nodes (RTF_ROOT and RTF_TEXT). If the type is set, it will also match the node type with the given type.
Constructor Summary
SimpleIterator()
SimpleIterator(int direction)
SimpleIterator(int direction, int type)
Method Summary
voidgotoMark()
intnext()
voidsetMark()
DTMAxisIteratorsetStartNode(int nodeHandle)

Constructor Detail

SimpleIterator

public SimpleIterator()

SimpleIterator

public SimpleIterator(int direction)

SimpleIterator

public SimpleIterator(int direction, int type)

Method Detail

gotoMark

public void gotoMark()

next

public int next()

setMark

public void setMark()

setStartNode

public DTMAxisIterator setStartNode(int nodeHandle)
Copyright B) 2005 Apache XML Project. All Rights Reserved.