net.sf.tomp.xtcl.command
Class PropertiesCommand

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

public class PropertiesCommand
extends VarCommand

DOCUMENT ME!

Author:
tomp

Field Summary
 
Fields inherited from class net.sf.tomp.xtcl.command.VarCommand
var
 
Constructor Summary
PropertiesCommand()
           
 
Method Summary
 int execute(Context context)
          DOCUMENT ME!
 java.lang.String getBody()
           
 java.lang.String getFileNameOrRef()
           
 void setBody(java.lang.String b)
          Set the command (sequence) found in this template body
 void setFileNameOrRef(java.lang.String b)
           
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class net.sf.tomp.xtcl.command.VarCommand
setVar
 
Methods inherited from class net.sf.tomp.xtcl.command.AbstractCommand
done, initParameters, listArray, listList, listMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertiesCommand

public PropertiesCommand()
Method Detail

execute

public int execute(Context context)
            throws java.lang.Exception
DOCUMENT ME!

Specified by:
execute in interface Command
Overrides:
execute in class AbstractCommand
Parameters:
context - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.Exception - DOCUMENT ME!

getBody

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

getFileNameOrRef

public java.lang.String getFileNameOrRef()
Returns:
Returns the fileNameOrRef.

setBody

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

Parameters:
c - the command from the body

setFileNameOrRef

public void setFileNameOrRef(java.lang.String b)

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!