01: /*
02: * Copyright 2006 Day Management AG, Switzerland. All rights reserved.
03: */
04: package javax.jcr;
05:
06: /**
07: * Allows easy iteration through a list of <code>Node</code>s
08: * with <code>nextNode</code> as well as a <code>skip</code> method inherited from
09: * <code>RangeIterator</code>.
10: */
11: public interface NodeIterator extends RangeIterator {
12:
13: /**
14: * Returns the next <code>Node</code> in the iteration.
15: *
16: * @return the next <code>Node</code> in the iteration.
17: * @throws java.util.NoSuchElementException if iteration has no more <code>Node</code>s.
18: */
19: public Node nextNode();
20: }
|