java.lang.Object
org.apache.jena.sparql.function.FunctionRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FunctionRegistry
createFrom
(FunctionRegistry from) Copies the origin registry into a new one, or makes a fresh instance if the specified registry isnull
.static FunctionRegistry
get()
Lookup by URIstatic FunctionRegistry
static void
init()
boolean
isRegistered
(String uri) keys()
Iterate over URIsvoid
Insert a class that is the function implementationvoid
put
(String uri, FunctionFactory f) Insert a function.Remove by URIstatic void
set
(Context context, FunctionRegistry reg) static FunctionRegistry
-
Constructor Details
-
FunctionRegistry
public FunctionRegistry()
-
-
Method Details
-
standardRegistry
-
init
public static void init() -
get
-
get
-
set
-
createFrom
Copies the origin registry into a new one, or makes a fresh instance if the specified registry isnull
.- Parameters:
from
-FunctionRegistry
ornull
- Returns:
FunctionRegistry
a new instance
-
put
Insert a class that is the function implementation- 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.- Parameters:
uri
-f
-
-
get
Lookup by URI -
isRegistered
-
remove
Remove by URI -
keys
Iterate over URIs
-