Uses of Interface
org.webmacro.Template

Packages that use Template
org.webmacro   
org.webmacro.directive   
org.webmacro.engine   
org.webmacro.resource   
org.webmacro.servlet   
org.webmacro.util   
 

Uses of Template in org.webmacro
 

Methods in org.webmacro that return Template
 Template WM.getTemplate(java.lang.String key)
          Retrieve a template from the "template" provider.
 Template WebMacro.getTemplate(java.lang.String key)
          Retrieve a template from the "template" provider.
 

Uses of Template in org.webmacro.directive
 

Methods in org.webmacro.directive that return Template
protected  Template IncludeDirective.getTemplate(Broker b, java.lang.String name)
          get a Template via the "template" provider known by the specified broker
 

Uses of Template in org.webmacro.engine
 

Classes in org.webmacro.engine that implement Template
 class FileTemplate
          FileTemplate objects read their template data from a text file.
 class StreamTemplate
          StreamTempaltes are constructed with a stream from which they read their data.
 class StringTemplate
          StringTemplate objects read their template data from a string.
 class WMTemplate
          Template objects represent the user defined layout into which the webmacro package will substitute values.
 

Uses of Template in org.webmacro.resource
 

Classes in org.webmacro.resource that implement Template
 class URLTemplate
          FileTemplate objects read their template data from a text file.
 

Uses of Template in org.webmacro.servlet
 

Methods in org.webmacro.servlet that return Template
protected  Template WMServlet.error(WebContext context, java.lang.String error)
          Create an error template using the built in error handler.
 Template WMServlet.getTemplate(java.lang.String key)
          Retrieve a template from the "template" provider.
abstract  Template WMServlet.handle(WebContext context)
          This method is called to handle the processing of a request.
 Template Handler.accept(WebContext contextData)
          This is the primary method you override to create a new handler.
 

Methods in org.webmacro.servlet with parameters of type Template
protected  void WMServlet.execute(Template tmpl, WebContext c)
          This method takes a populated context and a template and writes out the interpreted template to the context's output stream.
 

Constructors in org.webmacro.servlet with parameters of type Template
TemplateTool.MacroTemplate(Context c, Template t)
          Constructor
 

Uses of Template in org.webmacro.util
 

Methods in org.webmacro.util that return Template
 Template WMEval.init(java.io.InputStream unparsedRule)
          Initializes WMEval so that it can perform rule evaluation on multiple contexts.
 Template WMEval.parseLocalTemplate(java.lang.String templateName)
          A convenience method to find and parse a template in the local template path.
 Template WMEval.getRule()
          Obtain the parsed rule possibly for reuse in another run.
 

Methods in org.webmacro.util with parameters of type Template
 void WMEval.setParsedTemplate(Template parsedTemplate)
          Supplies the parsed rule directly.
 void WMEval.assert(Context context, Template rule, java.io.OutputStream out, java.lang.String encoding)
          Deprecated.  
 void WMEval.eval(Context context, Template rule, java.io.OutputStream out, java.lang.String encoding)
          Evaluate the supplied context and template to the provided output.
 java.lang.String WMEval.assert(Context context, Template rule)
          Evaluate the supplied context and template and return the result as a as a string.
 java.lang.String WMEval.eval(Context context, Template rule)
          Evaluate the supplied context and template and return the result as a as a string.