public Iterator getFollowingSiblingAxisIterator(Object contextNode) throws UnsupportedAxisException { return new FollowingSiblingAxisIterator( contextNode, this ); }
/** * Create a new <code>following-sibling</code> axis iterator. * * @param contextNode the node to start from * @param navigator the object model specific navigator */ public FollowingSiblingAxisIterator(Object contextNode, Navigator navigator) throws UnsupportedAxisException { this.contextNode = contextNode; this.navigator = navigator; init(); }
@Override public Iterator<?> getFollowingSiblingAxisIterator(final Object contextNode) throws UnsupportedAxisException { return new FollowingSiblingAxisIterator(contextNode, this); }