|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hp.hpl.jena.reasoner.rulesys.builtins.BaseBuiltin com.hp.hpl.jena.reasoner.rulesys.builtins.Regex
public class Regex
Field Summary |
---|
Fields inherited from class com.hp.hpl.jena.reasoner.rulesys.builtins.BaseBuiltin |
---|
BASE_URI |
Constructor Summary | |
---|---|
Regex()
|
Method Summary | |
---|---|
boolean |
bodyCall(Node[] args,
int length,
RuleContext context)
This method is invoked when the builtin is called in a rule body. |
int |
getArgLength()
Return the expected number of arguments for this functor or 0 if the number is flexible. |
java.lang.String |
getName()
Return a name for this builtin, normally this will be the name of the functor that will be used to invoke it. |
Methods inherited from class com.hp.hpl.jena.reasoner.rulesys.builtins.BaseBuiltin |
---|
checkArgs, getArg, getURI, headAction, isMonotonic, isSafe |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Regex()
Method Detail |
---|
public java.lang.String getName()
public int getArgLength()
getArgLength
in interface Builtin
getArgLength
in class BaseBuiltin
public boolean bodyCall(Node[] args, int length, RuleContext context)
bodyCall
in interface Builtin
bodyCall
in class BaseBuiltin
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 enginescontext
- an execution context giving access to other relevant data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |