use of org.apache.jena.sparql.pfunction.PropertyFunctionRegistry in project jena by apache.
the class PathLib method install.
/** Install a path as a property function in a given registry */
public static void install(String uri, final Path path, PropertyFunctionRegistry registry) {
PropertyFunctionFactory pathPropFuncFactory = (u) -> new PathPropertyFunction(path);
registry.put(uri, pathPropFuncFactory);
}
Aggregations