1 package net.sf.quarrel.dot;
2
3 import net.sf.quarrel.uml.Attribute;
4
5 public class AttributeRenderer implements DotRenderer {
6
7 /***
8 * @throws ClassCastException if the subject object is not an instance of Attribute.
9 */
10 public String getDotString(Object subject) {
11 Attribute attribute = (Attribute) subject;
12 return attribute.getName() + "//l";
13 }
14
15 }