Package org.apache.jena.sparql.util
Class Closure
- java.lang.Object
-
- org.apache.jena.sparql.util.Closure
-
public class Closure extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClosure.ClosureBNodestatic classClosure.ClosureReachable
-
Constructor Summary
Constructors Constructor Description Closure()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Modelclosure(Resource resource, boolean testThisNode)Calculate the bNode closure from a resource.static Modelclosure(Resource resource, boolean testThisNode, Model results)Calculate the bNode closure from a resource .static Modelclosure(Resource resource, ClosureTest test, boolean testThisNode)Calculate the bNode closure from a resource .static Modelclosure(Resource resource, ClosureTest test, boolean testThisNode, Model results)Calculate the bNode closure from a resource .static Modelclosure(Statement stmt)Calculate the bNode closure from a statement .static Modelclosure(Statement statement, Model model)Calculate the bNode closure from a statement .static Modelclosure(Statement statement, ClosureTest test)Calculate the bNode closure from a statement .static Modelclosure(Statement statement, ClosureTest test, Model model)Calculate the bNode closure from a statement .
-
-
-
Method Detail
-
closure
public static Model closure(Statement stmt)
Calculate the bNode closure from a statement . The Statement itself does not automatically get included.- Parameters:
stmt-- Returns:
- A model containing statements
-
closure
public static Model closure(Statement statement, ClosureTest test)
Calculate the bNode closure from a statement . The Statement itself does not automatically get included.- Parameters:
statement- Starting point for the closure.test- The test object to be applied- Returns:
- A model containing statements
- See Also:
ClosureTest
-
closure
public static Model closure(Statement statement, Model model)
Calculate the bNode closure from a statement . The Statement itself does not automatically get included.- Parameters:
statement- Starting point for the closure.model- Add the statements to this model- Returns:
- A model containing statements
- See Also:
ClosureTest
-
closure
public static Model closure(Statement statement, ClosureTest test, Model model)
Calculate the bNode closure from a statement . The Statement itself does not automatically get included.- Parameters:
statement- Starting point for the closure.test- The test object to be appliedmodel- Add the statements to this model- Returns:
- A model containing statements
- See Also:
ClosureTest
-
closure
public static Model closure(Resource resource, boolean testThisNode)
Calculate the bNode closure from a resource. The Statement itself does not automatically get included.- Parameters:
resource- Starting point for the closure.testThisNode- Indicate whether to apply the closure test to the Resource argument.- Returns:
- A model containing statements
-
closure
public static Model closure(Resource resource, ClosureTest test, boolean testThisNode)
Calculate the bNode closure from a resource . The Statement itself does not automatically get included.- Parameters:
resource-test- The test object to be appliedtestThisNode- Indicate whether to apply the closure test to the Resource argument.- Returns:
- A model containing statements
-
closure
public static Model closure(Resource resource, boolean testThisNode, Model results)
Calculate the bNode closure from a resource . The Statement itself does not automatically get included.- Parameters:
resource-testThisNode- Indicate whether to apply the closure test to the Resource argument.results- Add the statements to this model- Returns:
- A model containing statements
-
closure
public static Model closure(Resource resource, ClosureTest test, boolean testThisNode, Model results)
Calculate the bNode closure from a resource . The Statement itself does not automatically get included.- Parameters:
resource-test- The test object to be appliedtestThisNode- Indicate whether to apply the closure test to the Resource argument.results- Add the statements to this model- Returns:
- A model containing statements
-
-