Tynamo™-TINI
v1.0.4

com.qindesign.servlet
Interface Template.UnsetVariableHandler

Enclosing class:
Template

public static interface Template.UnsetVariableHandler

This handler is called for each variable that is not set.

See Also:
Template.setUnsetVariableHandler(Template.UnsetVariableHandler)

Method Summary
 void templateVariable(String varName, ServletOutputStream out, HttpServletRequest req, HttpServletResponse resp)
          This is called for each variable that is not set.
 

Method Detail

templateVariable

void templateVariable(String varName,
                      ServletOutputStream out,
                      HttpServletRequest req,
                      HttpServletResponse resp)
                      throws IOException,
                             ServletException
This is called for each variable that is not set. The output stream is the same one used to output the template, and is the same object as resp.getOutputStream().

Parameters:
varName - the variable name
out - the servlet output stream from the response object, provided for convenience
req - the HTTP request object
resp - the HTTP response object
Throws:
IOException - if there was an I/O error while outputting the template.
ServletException - if the request could not be handled.

Tynamo™-TINI
v1.0.4

© 2001-2007 Shawn Silverman