tomp.xtcl.command
Class Function

java.lang.Object
  extended bytomp.xtcl.command.AbstractCommand
      extended bytomp.xtcl.command.Function
All Implemented Interfaces:
Command

public class Function
extends AbstractCommand


Field Summary
protected  Command command
           
protected  java.lang.String name
           
protected  java.lang.String[] params
           
 
Constructor Summary
Function()
           
 
Method Summary
 int execute(Context context)
           
 java.lang.String param(int i)
           
 void setCommand(Command c)
           
 void setName(java.lang.String p)
           
 void setParams(java.lang.String[] p)
           
 java.lang.String toString()
           
 
Methods inherited from class tomp.xtcl.command.AbstractCommand
initParameters, listArray, listList, listMap, newFile, refToFile, refToInputSource, refToJoostStyle, refToResult, refToSource, refToStyle, refToXMLFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

params

protected java.lang.String[] params

command

protected Command command
Constructor Detail

Function

public Function()
Method Detail

execute

public int execute(Context context)
            throws java.lang.Exception
Specified by:
execute in interface Command
Overrides:
execute in class AbstractCommand
Throws:
java.lang.Exception

setName

public void setName(java.lang.String p)

setParams

public void setParams(java.lang.String[] p)

setCommand

public void setCommand(Command c)

param

public java.lang.String param(int i)

toString

public java.lang.String toString()