]> gerrit.simantics Code Review - simantics/platform.git/blob
d1314350b4abbec5c8fabe94678db068a40e6ced
[simantics/platform.git] /
1 package org.simantics.document.linking.report.html;
2
3 import org.simantics.document.linking.report.base.URLItemImpl;
4
5 public class HTMLURLItemImpl extends URLItemImpl{
6         
7         
8         @Override
9         public String toString() {
10                 if (getURL() != null)
11                         return "<a href=\"" + getURL().toString() + "\">" + getText() + "</a>";
12                 return super.toString();
13         }
14
15 }