org.openrdf.sesame.sail
Interface ResourceIterator

All Superinterfaces:
ValueIterator
All Known Implementing Classes:
EmptyResourceIterator, MemResourceIterator, NestedResourceIterator, RdbmsResourceIterator, ResourceCollectionIterator, ResourceFilterIterator, SingleResourceIterator, StatementObjectIterator, StatementSubjectIterator

public interface ResourceIterator
extends ValueIterator

An extension of ValueIterator offering a utility method for retrieving the values as Resources.

Version:
$Revision: 1.5.4.2 $
Author:
Arjohn Kampman

Method Summary
 Resource nextResource()
          Gets the next Resource.
 
Methods inherited from interface org.openrdf.sesame.sail.ValueIterator
close, hasNext, next
 

Method Detail

nextResource

public Resource nextResource()
                      throws QueryEvaluationException
Gets the next Resource.

Returns:
the next Resource
Throws:
NoSuchElementException - If the iterator has no more results
QueryEvaluationException
See Also:
ValueIterator.next()


Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.