| java.lang.Object net.homeip.donaldm.httpdbase4j.TemplatableAdapter
All known Subclasses: net.homeip.donaldm.testng.templates.Pagetemplate,
TemplatableAdapter | public class TemplatableAdapter implements Templatable(Code) | | Convenience class for implementing template processing classes
See Also: Templatable author: Donald Munro |
templateFile | public File templateFile(StringTemplate template, Request request, StringBuffer mimeType, File dir)(Code) | | An overidable super class implementation of templateFile. Overiding classes
should populate the template and then return super.templateFile(...).
Parameters: template - The StringTemplate instance Parameters: request - The Request instance A temporary file of the contents of the template output or null. |
templateStream | public InputStream templateStream(StringTemplate template, Request request, StringBuffer mimeType)(Code) | | An overidable super class implementation of templateStream. Overiding
classes should populate the template and then return
super.templateStream(...).
Parameters: template - The StringTemplate instance Parameters: request - The Request instance A stream representing the contents of the template output or null. |
templateString | public String templateString(StringTemplate template, Request request, StringBuffer mimeType)(Code) | | An overidable super class implementation of templateString. Overiding
classes should populate the template and then return
super.templateString(...).
Parameters: template - The StringTemplate instance Parameters: request - The Request instance A string representing the contents of the template output or null. |
|
|