org.experlog.gencode
Interface DynHtml

All Known Implementing Classes:
ESDynHtml

public interface DynHtml

Author:
spengler To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Method Summary
 void addDataObject(java.lang.String name, DataObject t)
          Define a data set
 void addDataSet(java.lang.String name, DataSet ds)
          Define a data set
 void displayUnresolved(boolean yes)
          Display unresolved symbols or not.
 void expand(java.io.PrintWriter out)
          Expand the HTML template on a given output stream.
 void expand(java.io.PrintWriter out, boolean closeds)
          Expand the HTML template on a given output stream.
 java.lang.String expandString(java.lang.String line)
           
 java.lang.String expandString(java.lang.String line, java.util.Hashtable params)
           
 java.lang.String expandString(java.lang.String line, java.util.Hashtable params, boolean displayUnresolved)
           
 void setInputFile(java.io.File file)
          Change the input file definition
 void setInputFile(java.io.File file, boolean enforceSecurity)
          Change the input file definition
 void setParameter(java.lang.String name, java.lang.String val, boolean addtoreq)
          Define a new parameter (a tagname/value association) When $tagname$ will be found, it will be expanded to value.
 void setServletRequest(ESServletRequest req)
           
 java.lang.String sqlEncode(java.lang.String s, java.lang.String datasourcename)
           
 

Method Detail

displayUnresolved

void displayUnresolved(boolean yes)
Display unresolved symbols or not.


setInputFile

void setInputFile(java.io.File file)
                  throws java.io.IOException
Change the input file definition

Parameters:
file - An input file
Throws:
java.io.IOException

setInputFile

void setInputFile(java.io.File file,
                  boolean enforceSecurity)
                  throws java.io.IOException
Change the input file definition

Parameters:
file - An input file
enforceSecurity - If true, enforce security check on file name
Throws:
java.io.IOException

addDataSet

void addDataSet(java.lang.String name,
                DataSet ds)
Define a data set

Parameters:
ds - An ESDataSet object

addDataObject

void addDataObject(java.lang.String name,
                   DataObject t)
Define a data set

Parameters:
t - An ESDataSet object

setParameter

void setParameter(java.lang.String name,
                  java.lang.String val,
                  boolean addtoreq)
Define a new parameter (a tagname/value association) When $tagname$ will be found, it will be expanded to value.


expand

void expand(java.io.PrintWriter out)
            throws ExitException
Expand the HTML template on a given output stream.

Throws:
ExitException

expand

void expand(java.io.PrintWriter out,
            boolean closeds)
            throws ExitException
Expand the HTML template on a given output stream.

Throws:
ExitException

expandString

java.lang.String expandString(java.lang.String line)
                              throws java.sql.SQLException
Throws:
java.sql.SQLException

expandString

java.lang.String expandString(java.lang.String line,
                              java.util.Hashtable params)
                              throws java.sql.SQLException
Throws:
java.sql.SQLException

expandString

java.lang.String expandString(java.lang.String line,
                              java.util.Hashtable params,
                              boolean displayUnresolved)
                              throws java.sql.SQLException
Throws:
java.sql.SQLException

setServletRequest

void setServletRequest(ESServletRequest req)

sqlEncode

java.lang.String sqlEncode(java.lang.String s,
                           java.lang.String datasourcename)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException