use of org.apache.jena.sparql.function.FunctionFactory in project jena by apache.
the class E_Function method bindFunction.
private void bindFunction(Context cxt) {
if (functionBound)
return;
if (function == null) {
FunctionFactory ff = functionFactory(cxt);
if (ff == null) {
functionBound = true;
throw new ExprUndefFunction("URI <" + functionIRI + "> not found as a function", functionIRI);
}
function = ff.create(functionIRI);
}
function.build(functionIRI, args);
functionBound = true;
}
use of org.apache.jena.sparql.function.FunctionFactory in project jena by apache.
the class E_Function method functionFactory.
private FunctionFactory functionFactory(Context cxt) {
FunctionRegistry registry = chooseRegistry(cxt);
FunctionFactory ff = registry.get(functionIRI);
return ff;
}
Aggregations