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

Quick Search    Search Deep

nl.aidministrator.rdf.ral
Interface NamespaceIterator  view NamespaceIterator download NamespaceIterator.java


public interface NamespaceIterator

Declares the interface of the iterator over namespaces. Sesame uses a streaming approach, this means namespaces are retrieved from the repository one by one, instead of retrieving them all in one take and storing them into memory. Thus, the streaming approach saves memory.

Version:
1.2, 12/13/01

Method Summary
 void close()
          Closes all connections to the repository.
 java.lang.String getName()
          Gets the namespace 's prefix.
 java.lang.String getPrefix()
          Gets the namespace 's name.
 boolean hasNext()
          Checks whether there are any more results available.
 void next()
          Gets the next result.
 

Method Detail

hasNext

public boolean hasNext()
Checks whether there are any more results available.


next

public void next()
Gets the next result.


getName

public java.lang.String getName()
Gets the namespace 's prefix.


getPrefix

public java.lang.String getPrefix()
Gets the namespace 's name.


close

public void close()
Closes all connections to the repository.