return ((DocumentImpl) this).getAllElements(nodeTest.getFingerprint()); } else if (hasChildNodes()) { return new SteppingNavigator.DescendantAxisIterator<>(this, false, nodeTest); } else { return EmptyIterator.OfNodes.THE_INSTANCE; return new SteppingNavigator.DescendantAxisIterator<>(this, true, nodeTest);
return ((DocumentImpl) this).getAllElements(nodeTest.getFingerprint()); } else if (hasChildNodes()) { return new SteppingNavigator.DescendantAxisIterator<>(this, false, nodeTest); } else { return EmptyIterator.OfNodes.THE_INSTANCE; return new SteppingNavigator.DescendantAxisIterator<>(this, true, nodeTest);
@Override protected AxisIterator iterateDescendants(NodeTest nodeTest, boolean includeSelf) { if (includeSelf) { return new SteppingNavigator.DescendantAxisIterator<XOMNodeWrapper>( this, true, nodeTest); } else { if (hasChildNodes()) { return new SteppingNavigator.DescendantAxisIterator<XOMNodeWrapper>( this, false, nodeTest); } else { return EmptyIterator.OfNodes.THE_INSTANCE; } } }
@Override protected AxisIterator iterateDescendants(NodeTest nodeTest, boolean includeSelf) { return new SteppingNavigator.DescendantAxisIterator(this, includeSelf, nodeTest); }
@Override protected AxisIterator iterateDescendants(NodeTest nodeTest, boolean includeSelf) { return new SteppingNavigator.DescendantAxisIterator(this, includeSelf, nodeTest); }
@Override protected AxisIterator iterateDescendants(NodeTest nodeTest, boolean includeSelf) { if (includeSelf) { return new SteppingNavigator.DescendantAxisIterator<XOMNodeWrapper>( this, true, nodeTest); } else { if (hasChildNodes()) { return new SteppingNavigator.DescendantAxisIterator<XOMNodeWrapper>( this, false, nodeTest); } else { return EmptyIterator.OfNodes.THE_INSTANCE; } } }
@Override protected AxisIterator<NodeInfo> iterateDescendants(NodeTest nodeTest, boolean includeSelf) { if (includeSelf) { return new SteppingNavigator.DescendantAxisIterator(this, true, nodeTest); } else { if (hasChildNodes()) { return new SteppingNavigator.DescendantAxisIterator(this, false, nodeTest); } else { return EmptyAxisIterator.emptyAxisIterator(); } } }