java.lang.Object
org.apache.jena.reasoner.rulesys.BuiltinRegistry
- Direct Known Subclasses:
MapBuiltinRegistry
,OverrideBuiltinRegistry
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Builtin
getImplementation
(String functor) Find the implementation of the given builtin functor.abstract Builtin
Find the implementation of the given builtin functor.abstract void
Register an implementation for a given builtin functor.abstract void
Register an implementation for a given builtin using its default name.
-
Field Details
-
theRegistry
The default base registry
-
-
Constructor Details
-
BuiltinRegistry
public BuiltinRegistry()
-
-
Method Details
-
register
Register an implementation for a given builtin using its default name.- Parameters:
impl
- the implementation of the builtin
-
register
Register an implementation for a given builtin functor.- Parameters:
functor
- the name of the functor used to invoke the builtinimpl
- the implementation of the builtin
-
getImplementation
Find the implementation of the given builtin functor.- Parameters:
functor
- the name of the functor being invoked.- Returns:
- a Builtin or null if there is none registered under that name
-
getImplementationByURI
Find the implementation of the given builtin functor.- Parameters:
uri
- the URI of the builtin to be retrieved- Returns:
- a Builtin or null if there is none registered under that name
-