|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TemplateEngine | |
---|---|
org.melati | See melati.org. |
org.melati.app | Abstract classes and examples for using Melati as a command line application. |
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 TemplateEngine in org.melati |
---|
Methods in org.melati that return TemplateEngine | |
---|---|
TemplateEngine |
Melati.getTemplateEngine()
Get the template engine in use for this Request. |
TemplateEngine |
MelatiConfig.getTemplateEngine()
|
Methods in org.melati with parameters of type TemplateEngine | |
---|---|
void |
Melati.setTemplateEngine(TemplateEngine te)
Set the template engine to be used for this Request. |
void |
MelatiConfig.setTemplateEngine(TemplateEngine templateEngine)
Set the TemplateEngine to use. |
Uses of TemplateEngine in org.melati.app |
---|
Fields in org.melati.app declared as TemplateEngine | |
---|---|
protected TemplateEngine |
AbstractTemplateApp.templateEngine
|
Uses of TemplateEngine in org.melati.template |
---|
Subinterfaces of TemplateEngine in org.melati.template | |
---|---|
interface |
ServletTemplateEngine
Interface for a Template engine for use with Melati and Servlets. |
Classes in org.melati.template that implement TemplateEngine | |
---|---|
class |
AbstractTemplateEngine
Common elements of a TemplateEngine. |
class |
NoTemplateEngine
The null ServletTemplateEngine . |
Methods in org.melati.template with parameters of type TemplateEngine | |
---|---|
protected static String |
ClassNameTempletLoader.classpathTempletPath(Class<?> clazz,
TemplateEngine templateEngine)
|
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. |
protected static String |
ClassNameTempletLoader.templetsPath(TemplateEngine templateEngine,
MarkupLanguage markupLanguage)
|
protected static String |
ClassNameTempletLoader.templetsTempletPath(TemplateEngine templateEngine,
MarkupLanguage markupLanguage,
String purpose,
String name)
|
void |
Template.write(MelatiWriter out,
TemplateContext templateContext,
TemplateEngine engine)
Write the interpolated Template to a Writer. |
Uses of TemplateEngine in org.melati.template.velocity |
---|
Classes in org.melati.template.velocity that implement TemplateEngine | |
---|---|
class |
VelocityServletTemplateEngine
|
class |
VelocityTemplateEngine
Wrapper for the Velocity Template Engine for use with Melati. |
Methods in org.melati.template.velocity with parameters of type TemplateEngine | |
---|---|
void |
VelocityTemplate.write(MelatiWriter out,
TemplateContext templateContext,
TemplateEngine engine)
Write the interpolated Template to a Writer. |
Uses of TemplateEngine in org.melati.template.webmacro |
---|
Classes in org.melati.template.webmacro that implement TemplateEngine | |
---|---|
class |
WebmacroServletTemplateEngine
Wrapper for the WebMacro Template Engine for use in a Servlet context. |
class |
WebmacroTemplateEngine
Wrapper for the WebMacro Template Engine for use with Melati. |
Methods in org.melati.template.webmacro with parameters of type TemplateEngine | |
---|---|
void |
WebmacroTemplate.write(MelatiWriter out,
TemplateContext templateContext,
TemplateEngine engine)
Write to the given output. |
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |