public class OverrideBuiltinRegistry extends BuiltinRegistry
theRegistry| Constructor and Description |
|---|
OverrideBuiltinRegistry(BuiltinRegistry innerRegistry) |
| Modifier and Type | Method and Description |
|---|---|
Builtin |
getImplementation(String functor)
Find the implementation of the given builtin functor.
|
Builtin |
getImplementationByURI(String uri)
Find the implementation of the given builtin functor.
|
void |
register(Builtin impl)
Register an implementation for a given builtin using its default name.
|
void |
register(String functor,
Builtin impl)
Register an implementation for a given builtin functor.
|
public OverrideBuiltinRegistry(BuiltinRegistry innerRegistry)
public void register(String functor, Builtin impl)
BuiltinRegistryregister in class BuiltinRegistryfunctor - the name of the functor used to invoke the builtinimpl - the implementation of the builtinpublic void register(Builtin impl)
BuiltinRegistryregister in class BuiltinRegistryimpl - the implementation of the builtinpublic Builtin getImplementation(String functor)
BuiltinRegistrygetImplementation in class BuiltinRegistryfunctor - the name of the functor being invoked.public Builtin getImplementationByURI(String uri)
BuiltinRegistrygetImplementationByURI in class BuiltinRegistryuri - the URI of the builtin to be retrievedLicenced under the Apache License, Version 2.0