java.lang.Object
org.apache.jena.sparql.util.Closure.ClosureReachable
- All Implemented Interfaces:
- ClosureTest
- Enclosing class:
- Closure
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanincludeStmt(org.apache.jena.rdf.model.Statement s) Return true if the statement should be included in the closure.booleantraverse(org.apache.jena.rdf.model.Resource r) Return true if the closure algorithm should continue with statements with this resource as subject.
- 
Constructor Details- 
ClosureReachablepublic ClosureReachable()
 
- 
- 
Method Details- 
traversepublic boolean traverse(org.apache.jena.rdf.model.Resource r) Description copied from interface:ClosureTestReturn true if the closure algorithm should continue with statements with this resource as subject. Applied to subject and object iof each statement traversed- Specified by:
- traversein interface- ClosureTest
 
- 
includeStmtpublic boolean includeStmt(org.apache.jena.rdf.model.Statement s) Description copied from interface:ClosureTestReturn true if the statement should be included in the closure. The algorithm still recurses on the subject and object - this test is just about whether it is included in the result collection.- Specified by:
- includeStmtin interface- ClosureTest
- Parameters:
- s- Statement to test
 
 
-