net.sf.tomp.xtcl
Interface Command

All Known Implementing Classes:
AbstractCommand, AbstractParametrizedVarCommand, Call, CatchCommand, Cd, Do, Doc, Dump, DumpContext, DumpContexts, Echo, End, Err, ExeCommand, Fil, FileCommand, FilterCommand, Function, Help, Chain, JavaCommand, JoostFilterCommand, JoostStyle, Label, Load, MyMultiFilterCommand, PropertiesCommand, PropertiesToContext, Remove, Ret, Save, SAXSourceCommand, Sequence, SetCommand, Str, Style, TeeFilterCommand, Template, TestParametrizedVarCommand, Transform, TransformerFilterCommand, TryBlock, VarCommand, Verbose

public interface Command

The interface for a command - enables the command to be executed within a context.

Author:
tomp

Method Summary
 int execute(Context c)
          Execute this command within Context c
 

Method Detail

execute

int execute(Context c)
            throws java.lang.Exception
Execute this command within Context c

Parameters:
c - Context in which the command is executed
Returns:
int errorCode (0 means OK)
Throws:
java.lang.Exception