|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.sailimpl.memory.MemNamespaceIterator
An implementation of org.openrdf.sesame.sail.NamespaceIterator that can iterate over a list of Namespace objects.
| Constructor Summary | |
MemNamespaceIterator(List namespaces)
Constructor. |
|
| Method Summary | |
void |
close()
Closes the iterator and frees any resources that it uses (e.g. |
String |
getName()
Gets the name of the current namespace (i.e. it's URI). |
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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MemNamespaceIterator(List namespaces)
namespaces - List of Namespace objects| Method Detail |
public boolean hasNext()
NamespaceIterator
hasNext in interface NamespaceIteratorpublic void next()
NamespaceIterator
next in interface NamespaceIteratorpublic String getPrefix()
NamespaceIterator
getPrefix in interface NamespaceIteratorpublic String getName()
NamespaceIterator
getName in interface NamespaceIteratorpublic void close()
NamespaceIterator
close in interface NamespaceIterator
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||