com.caucho.servlets.ssi
Class SSIFactory

java.lang.Object
  extended by com.caucho.servlets.ssi.SSIFactory

public class SSIFactory
extends java.lang.Object

A factory that returns Statement for named commands.


Constructor Summary
SSIFactory()
           
 
Method Summary
 Statement createStatement(java.lang.String cmd, java.util.HashMap<java.lang.String,java.lang.String> attr, Path path)
          Return a statement, or null if the cmd is not known.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSIFactory

public SSIFactory()
Method Detail

createStatement

public Statement createStatement(java.lang.String cmd,
                                 java.util.HashMap<java.lang.String,java.lang.String> attr,
                                 Path path)
Return a statement, or null if the cmd is not known.

Parameters:
cmd - the name of a command
attr - a map of attributes and values
path - a path to the .shtml file
Returns:
the Statement, or null.