private boolean goForward() { while ( ! siblings.hasNext() ) { if ( !goUp() ) { return false; } } Object nextSibling = siblings.next(); this.currentSibling = new DescendantOrSelfAxisIterator(nextSibling, navigator); return true; }
private boolean goForward() { while ( ! siblings.hasNext() ) { if ( !goUp() ) { return false; } } Object nextSibling = siblings.next(); this.currentSibling = new DescendantOrSelfAxisIterator(nextSibling, navigator); return true; }