Class SecuredStatementIterator
java.lang.Object
org.apache.jena.permissions.model.impl.SecuredStatementIterator
- All Implemented Interfaces:
Iterator<Statement>
,org.apache.jena.atlas.iterator.IteratorCloseable<Statement>
,org.apache.jena.atlas.lib.Closeable
,StmtIterator
,ClosableIterator<Statement>
,ExtendedIterator<Statement>
A secured StatementIterator implementation
-
Constructor Summary
ConstructorsConstructorDescriptionSecuredStatementIterator
(SecuredModel securedModel, ExtendedIterator<Statement> wrapped) Constructor. -
Method Summary
Modifier and TypeMethodDescription<X extends Statement>
ExtendedIterator<Statement>void
close()
boolean
hasNext()
<U> ExtendedIterator<U>
next()
void
remove()
toList()
toSet()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.util.iterator.ExtendedIterator
forEach, nextOptional
Methods inherited from interface java.util.Iterator
forEachRemaining
Methods inherited from interface org.apache.jena.rdf.model.StmtIterator
toModel
-
Constructor Details
-
SecuredStatementIterator
Constructor.- Parameters:
securedModel
- The item providing the security context.wrapped
- The iterator to wrap.
-
-
Method Details
-
andThen
- Specified by:
andThen
in interfaceExtendedIterator<Statement>
-
close
public void close()- Specified by:
close
in interfaceClosableIterator<Statement>
- Specified by:
close
in interfaceorg.apache.jena.atlas.lib.Closeable
-
filterDrop
- Specified by:
filterDrop
in interfaceExtendedIterator<Statement>
-
filterKeep
- Specified by:
filterKeep
in interfaceExtendedIterator<Statement>
-
hasNext
public boolean hasNext() -
mapWith
- Specified by:
mapWith
in interfaceExtendedIterator<Statement>
-
next
-
nextStatement
- Specified by:
nextStatement
in interfaceStmtIterator
- Throws:
NoSuchElementException
-
remove
public void remove() -
removeNext
- Specified by:
removeNext
in interfaceExtendedIterator<Statement>
-
toList
- Specified by:
toList
in interfaceExtendedIterator<Statement>
-
toSet
- Specified by:
toSet
in interfaceExtendedIterator<Statement>
-