Class Closure

java.lang.Object
org.apache.jena.sparql.util.Closure

public class Closure extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.jena.rdf.model.Model
    closure(org.apache.jena.rdf.model.Resource resource, boolean testThisNode)
    Calculate the bNode closure from a resource.
    static org.apache.jena.rdf.model.Model
    closure(org.apache.jena.rdf.model.Resource resource, boolean testThisNode, org.apache.jena.rdf.model.Model results)
    Calculate the bNode closure from a resource .
    static org.apache.jena.rdf.model.Model
    closure(org.apache.jena.rdf.model.Resource resource, ClosureTest test, boolean testThisNode)
    Calculate the bNode closure from a resource .
    static org.apache.jena.rdf.model.Model
    closure(org.apache.jena.rdf.model.Resource resource, ClosureTest test, boolean testThisNode, org.apache.jena.rdf.model.Model results)
    Calculate the bNode closure from a resource .
    static org.apache.jena.rdf.model.Model
    closure(org.apache.jena.rdf.model.Statement stmt)
    Calculate the bNode closure from a statement .
    static org.apache.jena.rdf.model.Model
    closure(org.apache.jena.rdf.model.Statement statement, org.apache.jena.rdf.model.Model model)
    Calculate the bNode closure from a statement .
    static org.apache.jena.rdf.model.Model
    closure(org.apache.jena.rdf.model.Statement statement, ClosureTest test)
    Calculate the bNode closure from a statement .
    static org.apache.jena.rdf.model.Model
    closure(org.apache.jena.rdf.model.Statement statement, ClosureTest test, org.apache.jena.rdf.model.Model model)
    Calculate the bNode closure from a statement .

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Closure

      public Closure()
  • Method Details

    • closure

      public static org.apache.jena.rdf.model.Model closure(org.apache.jena.rdf.model.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 org.apache.jena.rdf.model.Model closure(org.apache.jena.rdf.model.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:
    • closure

      public static org.apache.jena.rdf.model.Model closure(org.apache.jena.rdf.model.Statement statement, org.apache.jena.rdf.model.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:
    • closure

      public static org.apache.jena.rdf.model.Model closure(org.apache.jena.rdf.model.Statement statement, ClosureTest test, org.apache.jena.rdf.model.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 applied
      model - Add the statements to this model
      Returns:
      A model containing statements
      See Also:
    • closure

      public static org.apache.jena.rdf.model.Model closure(org.apache.jena.rdf.model.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 org.apache.jena.rdf.model.Model closure(org.apache.jena.rdf.model.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 applied
      testThisNode - Indicate whether to apply the closure test to the Resource argument.
      Returns:
      A model containing statements
    • closure

      public static org.apache.jena.rdf.model.Model closure(org.apache.jena.rdf.model.Resource resource, boolean testThisNode, org.apache.jena.rdf.model.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 org.apache.jena.rdf.model.Model closure(org.apache.jena.rdf.model.Resource resource, ClosureTest test, boolean testThisNode, org.apache.jena.rdf.model.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 applied
      testThisNode - Indicate whether to apply the closure test to the Resource argument.
      results - Add the statements to this model
      Returns:
      A model containing statements