Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

nl.aidministrator.rdf.ral.util
Class SingleStatementIterator  view SingleStatementIterator download SingleStatementIterator.java

java.lang.Object
  extended bynl.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


Field Summary
protected  boolean _hasNext
           
protected  nl.aidministrator.rdf.sail.model.Value _object
           
protected  nl.aidministrator.rdf.sail.model.Resource _predicate
           
protected  nl.aidministrator.rdf.sail.model.Resource _subject
           
 
Constructor Summary
SingleStatementIterator(nl.aidministrator.rdf.sail.model.Resource subject, nl.aidministrator.rdf.sail.model.Resource predicate, nl.aidministrator.rdf.sail.model.Value object)
           
 
Method Summary
 void close()
          Closes all connections to the repository.
 nl.aidministrator.rdf.sail.model.Value getObject()
          Gets the predicate of the statement iterator is currently pointing at.
 nl.aidministrator.rdf.sail.model.Resource getPredicate()
          Gets the predicate of the statement iterator is currently pointing at.
 nl.aidministrator.rdf.sail.model.Resource getSubject()
          Gets the subject of the statement iterator is currently pointing at.
 boolean hasNext()
          Checks whether there are any more results available.
 void next()
          Gets the next result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_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
Constructor Detail

SingleStatementIterator

public SingleStatementIterator(nl.aidministrator.rdf.sail.model.Resource subject,
                               nl.aidministrator.rdf.sail.model.Resource predicate,
                               nl.aidministrator.rdf.sail.model.Value object)
Method Detail

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