it.uniroma2.art.owlart.models.impl
Class OWLModelImpl.ARTLiteralIteratorImpl

java.lang.Object
  extended by it.uniroma2.art.owlart.navigation.RDFIteratorImpl<ARTLiteral>
      extended by it.uniroma2.art.owlart.models.impl.OWLModelImpl.ARTLiteralIteratorImpl
All Implemented Interfaces:
ARTLiteralIterator, RDFIterator<ARTLiteral>, java.util.Iterator<ARTLiteral>
Enclosing class:
OWLModelImpl

protected class OWLModelImpl.ARTLiteralIteratorImpl
extends RDFIteratorImpl<ARTLiteral>
implements ARTLiteralIterator


Method Summary
 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 streamOpen()
          tells if the data stream associated to this iterator is not empty (roughly equivalent to traditional hasNext() iterator method)
 
Methods inherited from class it.uniroma2.art.owlart.navigation.RDFIteratorImpl
hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

close

public void close()
           throws ModelAccessException
Description copied from interface: RDFIterator
closes the iterator and release resources

Specified by:
close in interface RDFIterator<ARTLiteral>
Throws:
ModelAccessException

getNext

public ARTLiteral getNext()
Description copied from interface: RDFIterator
gets the next element of the iterator, and advances over the data stream (roughly equivalent to traditional next() iterator method)

Specified by:
getNext in interface RDFIterator<ARTLiteral>
Returns:

streamOpen

public boolean streamOpen()
Description copied from interface: RDFIterator
tells if the data stream associated to this iterator is not empty (roughly equivalent to traditional hasNext() iterator method)

Specified by:
streamOpen in interface RDFIterator<ARTLiteral>
Returns:


Copyright © 2011 ART Group, University of Rome, Tor Vergata. All Rights Reserved.