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