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

Quick Search    Search Deep

jeops.rete
Class ClassFilterReteNode  view ClassFilterReteNode download ClassFilterReteNode.java

java.lang.Object
  extended byjeops.rete.ReteNode
      extended byjeops.rete.ClassFilterReteNode

public class ClassFilterReteNode
extends ReteNode

A node in the Rete network that is activated if the object belongs to the class it represents. An object of this class is the entry point of the Rete network.

Version:
1.0 13 Jul 2000

Field Summary
private  java.lang.Class classType
          The class object that indicates which tokens can pass by this node.
 
Fields inherited from class jeops.rete.ReteNode
 
Constructor Summary
ClassFilterReteNode(java.lang.Class classType)
          Class constructor.
 
Method Summary
 java.util.List getClassFilterSuccessors()
          Returns the successors of this node.
 java.lang.Class getClassType()
          Returns the class object associated with this node.
 void newObject(java.lang.Object obj)
          Informs this node that an object has arrived.
 void newObject(java.lang.Object obj, int input)
          Informs this node that an object has arrived.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class jeops.rete.ReteNode
addSuccessor, addSuccessor, addSuccessor, getNumberInputs, getNumberOutputs, getSuccessors, propagate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

classType

private java.lang.Class classType
The class object that indicates which tokens can pass by this node.

Constructor Detail

ClassFilterReteNode

public ClassFilterReteNode(java.lang.Class classType)
Class constructor.

Method Detail

getClassType

public java.lang.Class getClassType()
Returns the class object associated with this node.


newObject

public void newObject(java.lang.Object obj)
Informs this node that an object has arrived. As the type check of the objects is being performed at the knowledge base, we will assume that this kind of node will always propagate the objects that arrive at it.


newObject

public void newObject(java.lang.Object obj,
                      int input)
Informs this node that an object has arrived. As the type check of the objects is being performed at the knowledge base, we will assume that this kind of node will always propagate the objects that arrive at it.

Specified by:
newObject in class ReteNode

toString

public java.lang.String toString()
Returns a string representation of this object. Useful for debugging.


getClassFilterSuccessors

public java.util.List getClassFilterSuccessors()
Returns the successors of this node.