Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.hp.hpl.jena.rdf.model
Interface StmtIterator

All Superinterfaces:
  ClosableIterator, ExtendedIterator, java.util.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.10 $' Date='$Date: 2008/01/02 12:05:48 $'
Author:
  bwm

Method Summary
`Statement` | `nextStatement()` Return the next Statement of the iteration.

Methods inherited from interface com.hp.hpl.jena.util.iterator.ExtendedIterator
`andThen, filterDrop, filterKeep, mapWith, removeNext, toList, toSet`

Methods inherited from interface com.hp.hpl.jena.util.iterator.ClosableIterator
`close`

Methods inherited from interface java.util.Iterator
`hasNext, next, remove`

Method Detail

### nextStatement

    Statement nextStatement()
                            throws java.util.NoSuchElementException

  Return the next Statement of the iteration.

  Returns:
    The next Resource from the iteration.
  Throws:
    `java.util.NoSuchElementException` - if there are no more to be returned.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP