|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.reasoner.rdfsReasoner1.BaseFRule
Base class for forward rules. Holds a head pattern (which will be matched against the triple store) and an array of body patterns. The body patterns can be instantiated following a successful head match and then processed be descendant class.
Constructor Summary | |
BaseFRule(java.lang.String spec)
Constructor |
|
BaseFRule(TriplePattern head,
TriplePattern[] body)
Constructor |
Method Summary | |
void |
bindAndFire(Triple value,
RDFSInfGraph reasoner)
Match the rule against a single triple. |
TriplePattern |
getHead()
Returns the head. |
static Triple |
parseTriple(java.lang.String spec)
Assistant method to parse a string into a triple |
static java.util.List |
parseTripleSequence(java.lang.String spec)
Assistant method to parse a string into a sequence oftriple patterns. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseFRule(TriplePattern head, TriplePattern[] body)
public BaseFRule(java.lang.String spec)
Method Detail |
public void bindAndFire(Triple value, RDFSInfGraph reasoner)
public static Triple parseTriple(java.lang.String spec)
public static java.util.List parseTripleSequence(java.lang.String spec)
public TriplePattern getHead()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |