Methods Summary |
---|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | cloneIterator()
ClonedNodeListIterator clone = new ClonedNodeListIterator(this);
return clone;
|
public int | getNode(int index)
if (index < _numCachedNodes) {
return _nodes.at(index);
}
else if (!_isEnded){
int node = _source.next();
if (node != END) {
_nodes.add(node);
_numCachedNodes++;
}
else {
_isEnded = true;
}
return node;
}
else
return END;
|
public int | getNodeByPosition(int pos)
return getNode(pos);
|
public int | getPosition()
return _index == 0 ? 1 : _index;
|
public void | gotoMark()
_source.gotoMark();
|
public int | next()
return getNode(_index++);
|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | reset()
_index = 0;
return this;
|
public void | setMark()
_source.setMark();
|
public void | setRestartable(boolean isRestartable)
//_isRestartable = isRestartable;
//_source.setRestartable(isRestartable);
|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | setStartNode(int node)
if (_isRestartable) {
_startNode = node;
_source.setStartNode(node);
resetPosition();
_isRestartable = false;
}
return this;
|