Class RecursionGuard

java.lang.Object
org.topbraid.shacl.util.RecursionGuard

public class RecursionGuard extends Object
A ThreadLocal structure to prevent infinite loops of tosh:hasShape calls etc.
Author:
Holger Knublauch
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    end(org.apache.jena.graph.Node focusNode, org.apache.jena.graph.Node shape)
     
    static boolean
    start(org.apache.jena.graph.Node focusNode, org.apache.jena.graph.Node shape)
     

    Methods inherited from class java.lang.Object

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

    • RecursionGuard

      public RecursionGuard()
  • Method Details

    • start

      public static boolean start(org.apache.jena.graph.Node focusNode, org.apache.jena.graph.Node shape)
    • end

      public static void end(org.apache.jena.graph.Node focusNode, org.apache.jena.graph.Node shape)