类 play.templates.Template
的使用

使用 Template 的软件包
play   
play.exceptions   
play.mvc.results   
play.plugins   
play.templates   
play.templates.types   
 

playTemplate 的使用
 

返回 Templateplay 中的方法
 Template PlayPlugin.loadTemplate(VirtualFile file)
           
 

参数类型为 Templateplay 中的方法
 void PlayPlugin.onTemplateCompilation(Template template)
          已过时。 
 

play.exceptionsTemplate 的使用
 

返回 Templateplay.exceptions 中的方法
 Template TemplateException.getTemplate()
           
 

参数类型为 Templateplay.exceptions 中的构造方法
NoRouteFoundException(java.lang.String action, java.util.Map<java.lang.String,java.lang.Object> args, Template template, java.lang.Integer line)
           
NoRouteFoundException(java.lang.String file, Template template, java.lang.Integer line)
           
TemplateCompilationException(Template template, java.lang.Integer lineNumber, java.lang.String message)
           
TemplateException(Template template, java.lang.Integer lineNumber, java.lang.String message)
           
TemplateException(Template template, java.lang.Integer lineNumber, java.lang.String message, java.lang.Throwable cause)
           
TemplateExecutionException(Template template, java.lang.Integer lineNumber, java.lang.String message, java.lang.Throwable cause)
           
TemplateNotFoundException(java.lang.String path, Template template, java.lang.Integer line)
           
 

play.mvc.resultsTemplate 的使用
 

参数类型为 Templateplay.mvc.results 中的构造方法
RenderTemplate(Template template, java.util.Map<java.lang.String,java.lang.Object> args)
           
 

play.pluginsTemplate 的使用
 

返回 Templateplay.plugins 中的方法
 Template PluginCollection.loadTemplate(VirtualFile file)
           
 

play.templatesTemplate 的使用
 

play.templatesTemplate 的子类
 class BaseTemplate
          A template
 class GroovyTemplate
          A template
 

返回 Templateplay.templates 中的方法
static Template TemplateLoader.load(java.lang.String path)
          Load a template
static Template TemplateLoader.load(VirtualFile file)
          Load a template from a virtual file
 

返回变量类型为 Template 的类型的 play.templates 中的方法
static java.util.List<Template> TemplateLoader.getAllTemplate()
          List all found templates
 

参数类型为 Templateplay.templates 中的方法
 java.lang.String SafeFormatter.format(Template template, java.lang.Object value)
           
 

play.templates.typesTemplate 的使用
 

参数类型为 Templateplay.templates.types 中的方法
 java.lang.String SafeXMLFormatter.format(Template template, java.lang.Object value)
           
 java.lang.String SafeHTMLFormatter.format(Template template, java.lang.Object value)
           
 java.lang.String SafeCSVFormatter.format(Template template, java.lang.Object value)
           
 



Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly