1 package net.sf.tomp.xtcl.command;
2
3 /***
4 * DOCUMENT ME!
5 *
6 * @author tomp
7 */
8 public class Label extends AbstractCommand {
9 /*** DOCUMENT ME! */
10 protected String name;
11
12 /***
13 * DOCUMENT ME!
14 *
15 * @param n DOCUMENT ME!
16 */
17 public void setName(String n) {
18 name = n;
19 }
20
21 /***
22 * DOCUMENT ME!
23 *
24 * @return DOCUMENT ME!
25 */
26 public String toString() {
27 return "LABEL " + name;
28 }
29 }
30
31 /*
32 * The contents of this file are subject to the Mozilla Public License Version
33 * 1.1 (the "License"); you may not use this file except in compliance with the
34 * License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
35 * Software distributed under the License is distributed on an "AS IS" basis,
36 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
37 * the specific language governing rights and limitations under the License. The
38 * Original Code is: all this file. The Initial Developer of the Original Code
39 * is: Tomas Pitner, Masaryk University in Brno, Czech Republic. Contributor(s):
40 */