org.apache.catalina.util.ssi
インタフェース SsiCommand

既知の実装クラスの一覧:
SsiConfig, SsiFlastmod, SsiFsize, SsiInclude, SsiExec, SsiEcho

public interface SsiCommand

Interface implemented by the different SsiCommands.

バージョン:
$Revision: 1.2 $, $Date: 2001/04/26 22:58:49 $
作成者:
Bip Thelin

メソッドの概要
 java.lang.String getStream(java.lang.String[] strParamType, java.lang.String[] strParam)
          Get the processed result of this SsiCommands, called after and only if isPrintable() returns true
 boolean isModified()
          Return true if this SsiCommand has been modified since the last request.
 boolean isPrintable()
          Called before getStream() and process().
 void process(java.lang.String[] strParamType, java.lang.String[] strParam)
          Process this request, used if isPrintable() returns false
 

メソッドの詳細

getStream

public java.lang.String getStream(java.lang.String[] strParamType,
                                  java.lang.String[] strParam)
Get the processed result of this SsiCommands, called after and only if isPrintable() returns true
パラメータ:
strParamType - The type of parameter
strParam - The value of the parameter
戻り値:
result from this SsiCommand

process

public void process(java.lang.String[] strParamType,
                    java.lang.String[] strParam)
Process this request, used if isPrintable() returns false
パラメータ:
strParamType - The type of parameter
strParam - The value of the parameter

isPrintable

public boolean isPrintable()
Called before getStream() and process(). Return true if this SsiCommand provide an output else false
戻り値:
boolean result

isModified

public boolean isModified()
Return true if this SsiCommand has been modified since the last request.
戻り値:
a value of type 'boolean'


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.