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
RDFIterator
close
in interface RDFIterator<ARTLiteral>
close
in interface AutoCloseable
ModelAccessException
public ARTLiteral getNext() throws ModelAccessException
RDFIterator
next()
iterator method)getNext
in interface RDFIterator<ARTLiteral>
ModelAccessException
public boolean streamOpen() throws ModelAccessException
RDFIterator
hasNext()
iterator method)streamOpen
in interface RDFIterator<ARTLiteral>
ModelAccessException
public 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.