Class SPARQLExtFunctionRegistry
java.lang.Object
org.apache.jena.sparql.function.FunctionRegistry
fr.mines_stetienne.ci.sparql_generate.function.SPARQLExtFunctionRegistry
public class SPARQLExtFunctionRegistry
extends org.apache.jena.sparql.function.FunctionRegistry
- Author:
- Maxime Lefrançois
-
Constructor Summary
ConstructorsConstructorDescriptionSPARQLExtFunctionRegistry(org.apache.jena.sparql.function.FunctionRegistry parent, org.apache.jena.sparql.util.Context context) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.sparql.function.FunctionFactoryLookup by URIstatic booleanisBuiltInNamespace(String uri) True if the IRI is in the namespace of the functions and iterators of SPARQL, XPath, Jena or SPARQL-Generate.booleanisRegistered(String uri) voidInsert a class that is the function implementationvoidInsert a function.org.apache.jena.sparql.function.FunctionFactoryRemove by URIMethods inherited from class org.apache.jena.sparql.function.FunctionRegistry
createFrom, get, get, init, keys, set, standardRegistry
-
Constructor Details
-
SPARQLExtFunctionRegistry
public SPARQLExtFunctionRegistry(org.apache.jena.sparql.function.FunctionRegistry parent, org.apache.jena.sparql.util.Context context)
-
-
Method Details
-
put
Insert a class that is the function implementation- Overrides:
putin classorg.apache.jena.sparql.function.FunctionRegistry- Parameters:
uri- String URIfuncClass- Class for the function (new instance called).
-
put
Insert a function. Re-inserting with the same URI overwrites the old entry.- Overrides:
putin classorg.apache.jena.sparql.function.FunctionRegistry- Parameters:
uri-f-
-
isRegistered
- Overrides:
isRegisteredin classorg.apache.jena.sparql.function.FunctionRegistry
-
remove
Remove by URI- Overrides:
removein classorg.apache.jena.sparql.function.FunctionRegistry- Parameters:
uri-- Returns:
-
get
Lookup by URI- Overrides:
getin classorg.apache.jena.sparql.function.FunctionRegistry- Returns:
- the function, or null
-
isBuiltInNamespace
True if the IRI is in the namespace of the functions and iterators of SPARQL, XPath, Jena or SPARQL-Generate.
-