java.lang.Object
nl.aidministrator.rdf.ral.sail.NamespaceIteratorAdapter
- All Implemented Interfaces:
- nl.aidministrator.rdf.sail.NamespaceIterator
- public class NamespaceIteratorAdapter
- extends java.lang.Object
- implements nl.aidministrator.rdf.sail.NamespaceIterator
- Version:
- 1.1, 01/28/02
|
Method Summary |
void |
close()
Closes the iterator and frees any resources that it uses (e.g. |
java.lang.String |
getName()
Gets the name of the current namespace (i.e. |
java.lang.String |
getPrefix()
Gets the prefix of the current namespace. |
boolean |
hasNext()
Checks whether there are any more namespaces available. |
void |
next()
Go to the next namespace. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_ralIter
private nl.aidministrator.rdf.ral.NamespaceIterator _ralIter
NamespaceIteratorAdapter
public NamespaceIteratorAdapter(nl.aidministrator.rdf.ral.NamespaceIterator ralIter)
hasNext
public boolean hasNext()
- Description copied from interface:
nl.aidministrator.rdf.sail.NamespaceIterator
- Checks whether there are any more namespaces available.
- Specified by:
hasNext in interface nl.aidministrator.rdf.sail.NamespaceIterator
next
public void next()
- Description copied from interface:
nl.aidministrator.rdf.sail.NamespaceIterator
- Go to the next namespace.
- Specified by:
next in interface nl.aidministrator.rdf.sail.NamespaceIterator
getName
public java.lang.String getName()
- Description copied from interface:
nl.aidministrator.rdf.sail.NamespaceIterator
- Gets the name of the current namespace (i.e. it's URI).
- Specified by:
getName in interface nl.aidministrator.rdf.sail.NamespaceIterator
getPrefix
public java.lang.String getPrefix()
- Description copied from interface:
nl.aidministrator.rdf.sail.NamespaceIterator
- Gets the prefix of the current namespace.
- Specified by:
getPrefix in interface nl.aidministrator.rdf.sail.NamespaceIterator
close
public void close()
- Description copied from interface:
nl.aidministrator.rdf.sail.NamespaceIterator
- Closes the iterator and frees any resources that it uses (e.g.
connections to databases). Every NamespaceIterator should be properly
closed when it has returned all of its namespaces, or when it is no
longer needed.
- Specified by:
close in interface nl.aidministrator.rdf.sail.NamespaceIterator