net.sf.quarrel.dot
Interface DotRenderer

All Known Implementing Classes:
AttributeRenderer, ModelRenderer, RelationshipRenderer, StructuredElementRenderer, StubElementRenderer

public interface DotRenderer

Objects implementing this interface are responsible for taking a part of the model and turning it into a String that will represent the subject in DOT notation.

Created By: Brian Surratt Created On: Apr 8, 2006 8:55:12 PM


Method Summary
 java.lang.String getDotString(java.lang.Object subject)
          Returns a String representing the subject Object in DOT notation.
 

Method Detail

getDotString

public java.lang.String getDotString(java.lang.Object subject)
Returns a String representing the subject Object in DOT notation.

Parameters:
subject - the Object to be rendered
Returns:
a String representing the subject in DOT notation.
Throws:
java.lang.ClassCastException - if the wrong class of object is passed to the implementation.


Copyright © 2006-2007. All Rights Reserved.