|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 Template 的软件包 | |
|---|---|
| play | |
| play.exceptions | |
| play.mvc.results | |
| play.plugins | |
| play.templates | |
| play.templates.types | |
| play 中 Template 的使用 |
|---|
| 返回 Template 的 play 中的方法 | |
|---|---|
Template |
PlayPlugin.loadTemplate(VirtualFile file)
|
| 参数类型为 Template 的 play 中的方法 | |
|---|---|
void |
PlayPlugin.onTemplateCompilation(Template template)
已过时。 |
| play.exceptions 中 Template 的使用 |
|---|
| 返回 Template 的 play.exceptions 中的方法 | |
|---|---|
Template |
TemplateException.getTemplate()
|
| 参数类型为 Template 的 play.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.results 中 Template 的使用 |
|---|
| 参数类型为 Template 的 play.mvc.results 中的构造方法 | |
|---|---|
RenderTemplate(Template template,
java.util.Map<java.lang.String,java.lang.Object> args)
|
|
| play.plugins 中 Template 的使用 |
|---|
| 返回 Template 的 play.plugins 中的方法 | |
|---|---|
Template |
PluginCollection.loadTemplate(VirtualFile file)
|
| play.templates 中 Template 的使用 |
|---|
| play.templates 中 Template 的子类 | |
|---|---|
class |
BaseTemplate
A template |
class |
GroovyTemplate
A template |
| 返回 Template 的 play.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 |
| 参数类型为 Template 的 play.templates 中的方法 | |
|---|---|
java.lang.String |
SafeFormatter.format(Template template,
java.lang.Object value)
|
| play.templates.types 中 Template 的使用 |
|---|
| 参数类型为 Template 的 play.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)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||