01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: //This file is part of KeY - Integrated Deductive Software Design
09: //Copyright (C) 2001-2003 Universitaet Karlsruhe, Germany
10: // and Chalmers University of Technology, Sweden
11: //
12: //The KeY system is protected by the GNU General Public License.
13: //See LICENSE.TXT for details.
14: //
15:
16: package de.uka.ilkd.key.rule.export.html;
17:
18: public abstract class HTMLLink {
19: public String openingTag() {
20: return "<a href=\"" + getURL() + "\">";
21: }
22:
23: public String closingTag() {
24: return "</a>";
25: }
26:
27: public String toTag(Object o) {
28: return openingTag() + o + closingTag();
29: }
30:
31: protected abstract String getURL();
32: }
|