1 package net.sf.quarrel.dot; 2 3 /*** 4 * Objects implementing this interface are responsible for taking a part of the model and turning it into a String 5 * that will represent the subject in DOT notation. 6 * <p/> 7 * Created By: Brian Surratt 8 * Created On: Apr 8, 2006 8:55:12 PM 9 */ 10 public interface DotRenderer { 11 12 /*** 13 * Returns a String representing the subject Object in DOT notation. 14 * 15 * @param subject the Object to be rendered 16 * @return a String representing the subject in DOT notation. 17 * @throws ClassCastException if the wrong class of object is passed to the implementation. 18 */ 19 public String getDotString(Object subject); 20 21 }