tomp.xtcl.command
Class FilterCommand

java.lang.Object
  extended bytomp.xtcl.command.AbstractCommand
      extended bytomp.xtcl.command.VarCommand
          extended bytomp.xtcl.command.FilterCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
DerivationFilterCommand, JoostFilterCommand, TransformerFilterCommand, TypeDetectorFilterCommand

public class FilterCommand
extends VarCommand


Field Summary
protected  java.lang.String className
           
protected  java.util.Map params
           
protected  java.util.Map realParams
           
 
Fields inherited from class tomp.xtcl.command.VarCommand
var
 
Constructor Summary
FilterCommand()
           
 
Method Summary
 int execute(Context c)
           
protected  int initFilter(XTFilter f, Context context)
           
 void setClassName(java.lang.String r)
           
 void setParameter(java.lang.String k, java.lang.Object v)
           
 java.lang.String toString()
           
 
Methods inherited from class tomp.xtcl.command.VarCommand
setVar
 
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

className

protected java.lang.String className

params

protected java.util.Map params

realParams

protected java.util.Map realParams
Constructor Detail

FilterCommand

public FilterCommand()
Method Detail

setParameter

public void setParameter(java.lang.String k,
                         java.lang.Object v)

setClassName

public void setClassName(java.lang.String r)

execute

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

toString

public java.lang.String toString()

initFilter

protected int initFilter(XTFilter f,
                         Context context)