com.hp.hpl.jena.rdf.model
Interface StmtIterator
- All Superinterfaces:
- ClosableIterator, ExtendedIterator, Iterator
public interface StmtIterator
- extends ExtendedIterator
An iterator which returns RDF Statements.
RDF iterators are standard Java iterators, except that they
have extras method to return specifically typed objects,
in this case RDF Statements and have a close()
method
that should be called to free resources if the application does
not complete the iteration.
- Version:
- Release='$Name: $' Revision='$Revision: 1.6 $' Date='$Date: 2003/08/27 13:05:53 $'
- Author:
- bwm
nextStatement
Statement nextStatement()
throws NoSuchElementException
- Return the next Statement of the iteration.
- Returns:
- The next Resource from the iteration.
- Throws:
NoSuchElementException
- if there are no more to be returned.
Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP