java.lang.Object
nl.aidministrator.rdf.ral.util.SingleStatementIterator
- All Implemented Interfaces:
- nl.aidministrator.rdf.ral.StatementIterator
- public class SingleStatementIterator
- extends java.lang.Object
- implements nl.aidministrator.rdf.ral.StatementIterator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_subject
protected nl.aidministrator.rdf.sail.model.Resource _subject
_predicate
protected nl.aidministrator.rdf.sail.model.Resource _predicate
_object
protected nl.aidministrator.rdf.sail.model.Value _object
_hasNext
protected boolean _hasNext
SingleStatementIterator
public SingleStatementIterator(nl.aidministrator.rdf.sail.model.Resource subject,
nl.aidministrator.rdf.sail.model.Resource predicate,
nl.aidministrator.rdf.sail.model.Value object)
hasNext
public boolean hasNext()
- Description copied from interface:
nl.aidministrator.rdf.ral.StatementIterator
- Checks whether there are any more results available.
- Specified by:
hasNext in interface nl.aidministrator.rdf.ral.StatementIterator
next
public void next()
- Description copied from interface:
nl.aidministrator.rdf.ral.StatementIterator
- Gets the next result.
- Specified by:
next in interface nl.aidministrator.rdf.ral.StatementIterator
getSubject
public nl.aidministrator.rdf.sail.model.Resource getSubject()
- Description copied from interface:
nl.aidministrator.rdf.ral.StatementIterator
- Gets the subject of the statement iterator is currently pointing at.
- Specified by:
getSubject in interface nl.aidministrator.rdf.ral.StatementIterator
getPredicate
public nl.aidministrator.rdf.sail.model.Resource getPredicate()
- Description copied from interface:
nl.aidministrator.rdf.ral.StatementIterator
- Gets the predicate of the statement iterator is currently pointing at.
- Specified by:
getPredicate in interface nl.aidministrator.rdf.ral.StatementIterator
getObject
public nl.aidministrator.rdf.sail.model.Value getObject()
- Description copied from interface:
nl.aidministrator.rdf.ral.StatementIterator
- Gets the predicate of the statement iterator is currently pointing at.
- Specified by:
getObject in interface nl.aidministrator.rdf.ral.StatementIterator
close
public void close()
- Description copied from interface:
nl.aidministrator.rdf.ral.StatementIterator
- Closes all connections to the repository.
- Specified by:
close in interface nl.aidministrator.rdf.ral.StatementIterator