public class LiteralIteratorFilteringLanguage extends Object implements ARTLiteralIterator
| Constructor and Description |
|---|
LiteralIteratorFilteringLanguage(ARTNodeIterator it,
String languageTag)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes the iterator and release resources
|
ARTLiteral |
getNext()
gets the next element of the iterator, and advances over the data stream (roughly
equivalent to traditional
next() iterator method) |
boolean |
hasNext() |
ARTLiteral |
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 LiteralIteratorFilteringLanguage(ARTNodeIterator it, String languageTag)
itStmt - statement iteratorlanguageTag - language tagpublic void close()
throws ModelAccessException
RDFIteratorclose in interface RDFIterator<ARTLiteral>close in interface AutoCloseableModelAccessExceptionpublic ARTLiteral getNext() throws ModelAccessException
RDFIteratornext() iterator method)getNext in interface RDFIterator<ARTLiteral>ModelAccessExceptionpublic boolean streamOpen()
throws ModelAccessException
RDFIteratorhasNext() iterator method)streamOpen in interface RDFIterator<ARTLiteral>ModelAccessExceptionpublic boolean hasNext()
hasNext in interface Iterator<ARTLiteral>public ARTLiteral next()
next in interface Iterator<ARTLiteral>public void remove()
remove in interface Iterator<ARTLiteral>Copyright © 2015 ART Group, University of Rome, Tor Vergata. All Rights Reserved.