Class ClassesCache

java.lang.Object
org.topbraid.shacl.validation.ClassesCache

public class ClassesCache extends Object
An object that is used to cache subclasses of all classes mentioned in sh:class statements, for faster execution of sh:class checking, avoiding repeated traversal of the subClassOf hierarchy.
Author:
Holger Knublauch
  • Constructor Details

    • ClassesCache

      public ClassesCache()
  • Method Details

    • getPredicate

      public Predicate<org.apache.jena.rdf.model.Resource> getPredicate(org.apache.jena.rdf.model.Resource cls)