Debian Codegraph @

net/sf/saxon/tree/iter/AxisIterator.java

raw symbols SCIP
1 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) 2018 Saxonica Limited.
3 // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4 // If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 // This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0.
6 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7
8 package net.sf.saxon.tree.iter;
9
10 import net.sf.saxon.om.NodeInfo;
11
12
13 /**
14 * A SequenceIterator is used to iterate over a sequence of items. An AxisIterator
15 * is a SequenceIterator that throws no exceptions, and that always returns
16 * nodes. The nodes should all be in the same document (though there are
17 * some cases, such as PrependIterator, where this is the responsibility of the
18 * user of the class and is not enforced.)
19 */
20
21 public interface AxisIterator extends UnfailingIterator<NodeInfo> {
22
23 NodeInfo next();
24
25 }
26