public class JetbrickTemplate extends AbstractTemplate implements Serializable
Constructor and Description |
---|
JetbrickTemplate(jetbrick.template.JetTemplate jetTemplate)
构造
|
Modifier and Type | Method and Description |
---|---|
void |
render(Map<?,?> bindingMap,
OutputStream out)
将模板与绑定参数融合后输出到流
|
void |
render(Map<?,?> bindingMap,
Writer writer)
将模板与绑定参数融合后输出到Writer
|
static JetbrickTemplate |
wrap(jetbrick.template.JetTemplate jetTemplate)
包装Jetbrick模板
|
render, render
public JetbrickTemplate(jetbrick.template.JetTemplate jetTemplate)
jetTemplate
- Jetbrick的模板对象 JetTemplate
public static JetbrickTemplate wrap(jetbrick.template.JetTemplate jetTemplate)
jetTemplate
- Jetbrick的模板对象 JetTemplate
public void render(Map<?,?> bindingMap, Writer writer)
Template
public void render(Map<?,?> bindingMap, OutputStream out)
Template
Copyright © 2024. All rights reserved.