net.sf.tomp.xtcl.command
Class Template

java.lang.Object
  extended by net.sf.tomp.xtcl.command.AbstractCommand
      extended by net.sf.tomp.xtcl.command.Template
All Implemented Interfaces:
Command

public class Template
extends AbstractCommand

Creates a XTCL script template.

Author:
tomp

Constructor Summary
Template()
           
 
Method Summary
 java.lang.String getBody()
           
 java.lang.String getName()
           
 void setBody(java.lang.String b)
          Set the command (sequence) found in this template body
 void setName(java.lang.String p)
          DOCUMENT ME!
 java.lang.String toString()
           
 
Methods inherited from class net.sf.tomp.xtcl.command.AbstractCommand
done, execute, initParameters, listArray, listList, listMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Template

public Template()
Method Detail

getBody

public java.lang.String getBody()
Returns:
Returns the body.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String p)
DOCUMENT ME!

Parameters:
p - DOCUMENT ME!

setBody

public void setBody(java.lang.String b)
Set the command (sequence) found in this template body

Parameters:
c - the command from the body

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
"TEMPLATE " + name + " {" + body + "}";


Copyright © 2004-2005 Masaryk University in Brno, Faculty of Informatics, Czech Republic. All Rights Reserved.