com.hp.hpl.jena.rdf.model
Interface ResIterator

All Superinterfaces:
com.hp.hpl.jena.util.iterator.ClosableIterator<Resource>, com.hp.hpl.jena.util.iterator.ExtendedIterator<Resource>, java.util.Iterator<Resource>

public interface ResIterator
extends com.hp.hpl.jena.util.iterator.ExtendedIterator<Resource>

An iterator which returns RDF Resources.

RDF iterators are standard Java iterators, except that they have an extra method that returns a specifically typed object, in this case RDF Resource, and have a close() method that should be called to free resources if the caller does not complete the iteration.

Version:
Release='$Name: $' Revision='$Revision: 1.1 $' Date='$Date: 2009/06/29 08:55:38 $'
Author:
bwm

Method Summary
 Resource nextResource()
           
 
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

nextResource

Resource nextResource()


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