org.drools.reteoo
Class ReteooToJungVisitor

java.lang.Object
  extended byorg.drools.util.ReflectiveVisitor
      extended byorg.drools.reteoo.ReteooToJungVisitor
All Implemented Interfaces:
Visitor

public class ReteooToJungVisitor
extends ReflectiveVisitor

Produces a graph in GraphViz DOT format.

See Also:
http://www.research.att.com/sw/tools/graphviz/, http://www.pixelglow.com/graphviz/

Nested Class Summary
static class ReteooToJungVisitor.BaseNodeVertex
           
 
Constructor Summary
ReteooToJungVisitor(Graph graph)
          Constructor.
 
Method Summary
static java.lang.String dumpConstraints(FieldConstraint[] constraints)
           
 Graph getGraph()
           
 Vertex getRootVertex()
           
 void visitBaseNode(org.drools.reteoo.BaseNode node)
           
 void visitRete(org.drools.reteoo.Rete rete)
          Rete visits each of its ObjectTypeNodes.
 void visitReteooRuleBase(ReteooRuleBase ruleBase)
          RuleBaseImpl visits its Rete.
 
Methods inherited from class org.drools.util.ReflectiveVisitor
visit, visitObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReteooToJungVisitor

public ReteooToJungVisitor(Graph graph)
Constructor.

Method Detail

getGraph

public Graph getGraph()

getRootVertex

public Vertex getRootVertex()

visitReteooRuleBase

public void visitReteooRuleBase(ReteooRuleBase ruleBase)
RuleBaseImpl visits its Rete.


visitRete

public void visitRete(org.drools.reteoo.Rete rete)
Rete visits each of its ObjectTypeNodes.


visitBaseNode

public void visitBaseNode(org.drools.reteoo.BaseNode node)

dumpConstraints

public static java.lang.String dumpConstraints(FieldConstraint[] constraints)