01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.sail.rdbms.iteration;
07:
08: import info.aduna.iteration.CloseableIteration;
09: import info.aduna.iteration.IteratorIteration;
10:
11: import java.util.Iterator;
12:
13: import org.openrdf.model.Namespace;
14: import org.openrdf.sail.SailException;
15:
16: /**
17: * {@link Namespace} typed {@link Iteration}.
18: *
19: * @author James Leigh
20: *
21: */
22: public class NamespaceIteration extends
23: IteratorIteration<Namespace, SailException> implements
24: CloseableIteration<Namespace, SailException> {
25:
26: public NamespaceIteration(Iterator<? extends Namespace> iter) {
27: super (iter);
28: }
29:
30: public void close() throws SailException {
31: // do nothing
32: }
33:
34: }
|