org.juzu.template
Class Template
java.lang.Object
org.juzu.template.Template
public class Template
- extends Object
- Author:
- Julien Viet
Template
public Template(ApplicationContext applicationContext,
String path)
getPath
public String getPath()
render
public void render()
throws TemplateExecutionException,
UndeclaredIOException
- Throws:
TemplateExecutionException
UndeclaredIOException
render
public void render(Locale locale)
throws TemplateExecutionException,
UndeclaredIOException
- Throws:
TemplateExecutionException
UndeclaredIOException
render
public void render(Map<String,?> parameters)
throws TemplateExecutionException,
UndeclaredIOException
- Throws:
TemplateExecutionException
UndeclaredIOException
render
public void render(Map<String,?> parameters,
Locale locale)
throws TemplateExecutionException,
UndeclaredIOException
- Throws:
TemplateExecutionException
UndeclaredIOException
render
public void render(Printer printer)
throws TemplateExecutionException,
UndeclaredIOException
- Throws:
TemplateExecutionException
UndeclaredIOException
render
public void render(Printer printer,
Locale locale)
throws TemplateExecutionException,
UndeclaredIOException
- Throws:
TemplateExecutionException
UndeclaredIOException
render
public void render(Printer printer,
Map<String,?> parameters)
throws TemplateExecutionException,
UndeclaredIOException
- Throws:
TemplateExecutionException
UndeclaredIOException
render
public void render(Printer printer,
Map<String,?> attributes,
Locale locale)
throws TemplateExecutionException,
UndeclaredIOException
- Renders the template.
- Parameters:
printer - the printerattributes - the attributeslocale - the locale
- Throws:
TemplateExecutionException - any execution exception
UndeclaredIOException - any io exception
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011 eXo Platform SAS. All Rights Reserved.