public class MakeInstance extends BaseBuiltin
makeInstance(X, P, D, T) or makeInstance(X, P, T)where X is the instance and P the property for which a temporary value is required, T will be bound to the temp value (a bNode) and D is an optional type cor the T value.
|Constructor and Description|
|Modifier and Type||Method and Description|
This method is invoked when the builtin is called in a rule body.
Return a name for this builtin, normally this will be the name of the functor that will be used to invoke it.
checkArgs, getArg, getArgLength, getURI, headAction, isMonotonic, isSafe
public String getName()
public boolean bodyCall(Node args, int length, RuleContext context)
args- the array of argument values for the builtin, this is an array of Nodes, some of which may be Node_RuleVariables.
length- the length of the argument list, may be less than the length of the args array for some rule engines
context- an execution context giving access to other relevant data
Licenced under the Apache License, Version 2.0