Methods Summary |
---|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | cloneIterator()
try {
final FilterIterator clone = (FilterIterator) super.clone();
clone._source = _source.cloneIterator();
clone._isRestartable = false;
return clone.reset();
}
catch (CloneNotSupportedException e) {
BasisLibrary.runTimeError(BasisLibrary.ITERATOR_CLONE_ERR,
e.toString());
return null;
}
|
public void | gotoMark()
_source.gotoMark();
|
public boolean | isReverse()
return _isReverse;
|
public int | next()
int node;
while ((node = _source.next()) != END) {
if (_filter.acceptNode(node, DTMFilter.SHOW_ALL) == DTMIterator.FILTER_ACCEPT) {
return returnNode(node);
}
}
return END;
|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | reset()
_source.reset();
return resetPosition();
|
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) {
_source.setStartNode(_startNode = node);
return resetPosition();
}
return this;
|