Uses of Interface
org.melati.template.Template

Packages that use Template
org.melati.template Using Templates to render Objects to output formats. 
org.melati.template.velocity Enables Velocity to be used as the Melati template engine. 
org.melati.template.webmacro Enables WebMacro to be used as the Melati template engine. 
 

Uses of Template in org.melati.template
 

Methods in org.melati.template that return Template
 Template TemplateEngine.template(String templateName)
          Get a template given it's full name.
 Template NoTemplateEngine.template(String templateName)
          Get a template given its name.
 Template ClassNameTempletLoader.templet(TemplateEngine templateEngine, MarkupLanguage markupLanguage, Class<?> clazz)
          Get a templet for a class.
 Template TempletLoader.templet(TemplateEngine templateEngine, MarkupLanguage markupLanguage, Class<?> clazz)
          Return a templet for a given class, looking for a template with the same name as the class in the Melati templet directory; giving a full template path as: org/melati/template/TEMPLATE_ENGINE_NAME/MARKUP_LANGUAGE/java.lang.Object.wm which is the lowest possible template and is always found.
 Template ClassNameTempletLoader.templet(TemplateEngine templateEngine, MarkupLanguage markupLanguage, FieldAttributes attributes)
          Get a templet either from the classname concatenated with FieldAttributes.RenederInfo or the class name.
 Template TempletLoader.templet(TemplateEngine templateEngine, MarkupLanguage markupLanguage, FieldAttributes attributes)
          Return a templet to render a Field.
 Template ClassNameTempletLoader.templet(TemplateEngine templateEngine, MarkupLanguage markupLanguage, String name)
          Get a templet by its name, looking only in the templets directory.
 Template TempletLoader.templet(TemplateEngine templateEngine, MarkupLanguage markupLanguage, String templetName)
          Return a templet by name.
 Template ClassNameTempletLoader.templet(TemplateEngine templateEngine, MarkupLanguage markupLanguage, String purpose, Class<?> clazz)
          Get a templet based upon class name and optional purpose, looking in the templets directory and also the classpath.
 Template TempletLoader.templet(TemplateEngine templateEngine, MarkupLanguage markupLanguage, String purpose, Class<?> clazz)
          Return a templet by Class and Purpose.
 Template ClassNameTempletLoader.templet(TemplateEngine templateEngine, MarkupLanguage markupLanguage, String purpose, String name)
          Get a templet by name, with optional purpose.
 Template TempletLoader.templet(TemplateEngine templateEngine, MarkupLanguage markupLanguage, String purpose, String templetName)
          Return a templet by name and purpose.
 

Methods in org.melati.template with parameters of type Template
 String TemplateEngine.expandedTemplate(Template template, TemplateContext templateContext)
          Expand the Template against the context and return the expansion as a string.
 String NoTemplateEngine.expandedTemplate(Template melatiTemplate, TemplateContext templateContext)
          Expand the Template against the context.
 void TemplateEngine.expandTemplate(MelatiWriter out, Template template, TemplateContext templateContext)
          Expand the Template against the context, unwrapping any Access Exceptions.
 void NoTemplateEngine.expandTemplate(MelatiWriter out, Template melatiTemplate, TemplateContext templateContext)
          Expand the Template against the context.
protected  void AbstractMarkupLanguage.expandTemplet(Template templet, TemplateContext tc, MelatiWriter out)
          Interpolate a templet and write it out.
 

Uses of Template in org.melati.template.velocity
 

Classes in org.melati.template.velocity that implement Template
 class VelocityTemplate
          A Velocity Template for use with Melati.
 

Methods in org.melati.template.velocity that return Template
 Template VelocityTemplateEngine.template(String templateName)
          Get a template by name.
 

Methods in org.melati.template.velocity with parameters of type Template
 String VelocityTemplateEngine.expandedTemplate(Template template, TemplateContext templateContext)
          Expand the Template against the context to a String.
 void VelocityTemplateEngine.expandTemplate(MelatiWriter out, Template template, TemplateContext templateContext)
          Expand a Template against the context.
 

Uses of Template in org.melati.template.webmacro
 

Classes in org.melati.template.webmacro that implement Template
 class WebmacroTemplate
          A Template for use with Melati.
 

Methods in org.melati.template.webmacro that return Template
 Template WebmacroTemplateEngine.template(String templateName)
          Get a template given it's name.
 

Methods in org.melati.template.webmacro with parameters of type Template
 String WebmacroTemplateEngine.expandedTemplate(Template template, TemplateContext templateContext)
          Expand the Template against the context and return the expansion as a string.
 void WebmacroTemplateEngine.expandTemplate(MelatiWriter out, Template template, TemplateContext templateContext)
          Expand the Template against the context.
 



Copyright © 2000-2010 PanEris. All Rights Reserved.