org.apache.catalina.ssi

Interface SSICommand

Known Implementing Classes:
SSIConditional, SSIConfig, SSIEcho, SSIExec, SSIFlastmod, SSIFsize, SSIInclude, SSIPrintenv, SSISet

public interface SSICommand

The interface that all SSI commands ( SSIEcho, SSIInclude, ...) must implement.

Version:
$Revision: 1.3.2.1 $, $Date: 2004/09/01 16:31:01 $

Authors:
Bip Thelin
Dan Sandberg

Method Summary

void
process(SSIMediator ssiMediator, String commandName, String[] paramNames, String[] paramValues, PrintWriter writer)
Write the output of the command to the writer.

Method Details

process

public void process(SSIMediator ssiMediator,
                    String commandName,
                    String[] paramNames,
                    String[] paramValues,
                    PrintWriter writer)
            throws SSIStopProcessingException
Write the output of the command to the writer.

Parameters:
ssiMediator - the ssi mediator
commandName - the name of the actual command ( ie. echo )
paramNames - The parameter names
paramValues - The parameter values
writer - the writer to output to

Throws:
SSIStopProcessingException - if SSI processing should be aborted


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.