1 package net.sf.saxon.tree; 2 import net.sf.saxon.om.SequenceIterator; 3 import net.sf.saxon.pattern.NodeTest; 4 5 final class FollowingSiblingEnumeration extends TreeEnumeration { 6 7 public FollowingSiblingEnumeration(NodeImpl node, NodeTest nodeTest) { 8 super(node, nodeTest); 9 advance(); 10 } 11 12 protected void step() { 13 next = (NodeImpl)next.getNextSibling(); 14 } 15 16 19 20 public SequenceIterator getAnother() { 21 return new FollowingSiblingEnumeration(start, nodeTest); 22 } 23 } 24 25 26 | Popular Tags |