Class Closure


  • public class Closure
    extends java.lang.Object
    • Constructor Detail

      • Closure

        public Closure()
    • 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 applied
        model - 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 applied
        testThisNode - 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 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