com.caucho.servlets.ssi
Class IfStatement

java.lang.Object
  extended by com.caucho.servlets.ssi.Statement
      extended by com.caucho.servlets.ssi.IfStatement
Direct Known Subclasses:
ElifStatement

public class IfStatement
extends Statement

Represents a SSI set statement


Constructor Summary
protected IfStatement(SSIExpr test)
           
 
Method Summary
 void apply(WriteStream out, HttpServletRequest request, HttpServletResponse response)
          Executes the SSI statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IfStatement

protected IfStatement(SSIExpr test)
Method Detail

apply

public void apply(WriteStream out,
                  HttpServletRequest request,
                  HttpServletResponse response)
           throws java.io.IOException,
                  ServletException
Executes the SSI statement.

Overrides:
apply in class Statement
Parameters:
out - the output stream
request - the servlet request
response - the servlet response
Throws:
java.io.IOException
ServletException