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, JoostStyle, Label, Load, MyMultiFilterCommand, PropertiesCommand, PropertiesToContext, Remove, Ret, Save, SAXSourceCommand, Sequence, SetCommand, Str, STXFilterCommand, Style, StyleFilterCommand, TeeFilterCommand, Template, TestParametrizedVarCommand, Transform, TryBlock, VarCommand, Verbose, XSLTFilterCommand

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


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