edu.toronto.cs.davinci
Class DaVinciGraph

java.lang.Object
  extended by edu.toronto.cs.davinci.DaVinciGraph

public class DaVinciGraph
extends java.lang.Object

A davinci graph is a list of named terms


Nested Class Summary
 class DaVinciGraph.Attribute
           
 class DaVinciGraph.Edge
           
 class DaVinciGraph.FullNode
           
 class DaVinciGraph.LabeledEdge
           
static interface DaVinciGraph.Node
           
 class DaVinciGraph.RefNode
           
 class DaVinciGraph.Term
           
 
Constructor Summary
DaVinciGraph()
           
 
Method Summary
static void main(java.lang.String[] args)
          Tester method
 DaVinciGraph.FullNode node()
           
static java.lang.StringBuffer pad(int length, java.lang.String s, char character)
           
 DaVinciGraph.RefNode ref(DaVinciGraph.FullNode node)
           
 java.lang.String toString()
           
static java.lang.StringBuffer translateColour(java.lang.Object colour)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DaVinciGraph

public DaVinciGraph()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

node

public DaVinciGraph.FullNode node()

ref

public DaVinciGraph.RefNode ref(DaVinciGraph.FullNode node)

pad

public static java.lang.StringBuffer pad(int length,
                                         java.lang.String s,
                                         char character)

translateColour

public static java.lang.StringBuffer translateColour(java.lang.Object colour)

main

public static void main(java.lang.String[] args)
Tester method