public class URIResourceIteratorWrappingResourceIterator extends Object implements ARTURIResourceIterator
URIResourceIteratorFilteringResourceIterator
because it omits checks on the
nature of the wrapped nodes, expecting them to be URIsConstructor and Description |
---|
URIResourceIteratorWrappingResourceIterator(ARTResourceIterator resIt) |
Modifier and Type | Method and Description |
---|---|
void |
close()
closes the iterator and release resources
|
ARTURIResource |
getNext()
gets the next element of the iterator, and advances over the data stream (roughly
equivalent to traditional
next() iterator method) |
boolean |
hasNext() |
ARTURIResource |
next() |
void |
remove() |
boolean |
streamOpen()
tells if the data stream associated to this iterator is not empty (roughly
equivalent to traditional
hasNext() iterator method) |
public URIResourceIteratorWrappingResourceIterator(ARTResourceIterator resIt)
public void close() throws ModelAccessException
RDFIterator
close
in interface RDFIterator<ARTURIResource>
close
in interface AutoCloseable
ModelAccessException
public boolean streamOpen() throws ModelAccessException
RDFIterator
hasNext()
iterator method)streamOpen
in interface RDFIterator<ARTURIResource>
ModelAccessException
public ARTURIResource getNext() throws ModelAccessException
RDFIterator
next()
iterator method)getNext
in interface RDFIterator<ARTURIResource>
ModelAccessException
public boolean hasNext()
hasNext
in interface Iterator<ARTURIResource>
public ARTURIResource next()
next
in interface Iterator<ARTURIResource>
public void remove()
remove
in interface Iterator<ARTURIResource>
Copyright © 2015 ART Group, University of Rome, Tor Vergata. All Rights Reserved.