Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.hp.hpl.jena.reasoner.rulesys.test
Class TestRETE.RETETestNode  view TestRETE.RETETestNode download TestRETE.RETETestNode.java

java.lang.Object
  extended bycom.hp.hpl.jena.reasoner.rulesys.test.TestRETE.RETETestNode
All Implemented Interfaces:
com.hp.hpl.jena.reasoner.rulesys.impl.RETENode, com.hp.hpl.jena.reasoner.rulesys.impl.RETESinkNode
Enclosing class:
TestRETE

protected static class TestRETE.RETETestNode
extends java.lang.Object
implements com.hp.hpl.jena.reasoner.rulesys.impl.RETESinkNode

Inner class usable as a dummy RETENode end point for testing.


Field Summary
(package private)  com.hp.hpl.jena.reasoner.rulesys.impl.BindingVector env
          The environment passed in
(package private)  int firings
          True if the fire has been called
(package private)  boolean isAdd
          The mode flag
 
Constructor Summary
protected TestRETE.RETETestNode()
           
 
Method Summary
 com.hp.hpl.jena.reasoner.rulesys.impl.RETENode clone(java.util.Map netCopy, com.hp.hpl.jena.reasoner.rulesys.impl.RETERuleContext context)
          Clone this node in the network across to a different context.
 void fire(com.hp.hpl.jena.reasoner.rulesys.impl.BindingVector env, boolean isAdd)
          Propagate a token to this node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

env

com.hp.hpl.jena.reasoner.rulesys.impl.BindingVector env
The environment passed in


isAdd

boolean isAdd
The mode flag


firings

int firings
True if the fire has been called

Constructor Detail

TestRETE.RETETestNode

protected TestRETE.RETETestNode()
Method Detail

fire

public void fire(com.hp.hpl.jena.reasoner.rulesys.impl.BindingVector env,
                 boolean isAdd)
Propagate a token to this node.

Specified by:
fire in interface com.hp.hpl.jena.reasoner.rulesys.impl.RETESinkNode

clone

public com.hp.hpl.jena.reasoner.rulesys.impl.RETENode clone(java.util.Map netCopy,
                                                            com.hp.hpl.jena.reasoner.rulesys.impl.RETERuleContext context)
Clone this node in the network across to a different context.

Specified by:
clone in interface com.hp.hpl.jena.reasoner.rulesys.impl.RETENode