public interface Template
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BREAK_TYPE |
static int |
CAPTURE_TYPE |
static int |
EL_TYPE |
static int |
ELSE_TYPE |
static int |
FOR_TYPE |
static int |
IF_TYPE |
static int |
PLUGIN_TYPE |
static int |
VAR_TYPE |
static int |
XA_TYPE |
static int |
XT_TYPE |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addVar(String name,
Object value) |
String |
getContentType() |
String |
getEncoding() |
void |
render(Map<String,Object> context,
Object[] children,
Appendable out) |
void |
render(Object context,
Appendable out) |
static final int EL_TYPE
static final int IF_TYPE
static final int BREAK_TYPE
static final int XA_TYPE
static final int XT_TYPE
static final int FOR_TYPE
static final int ELSE_TYPE
static final int PLUGIN_TYPE
static final int VAR_TYPE
static final int CAPTURE_TYPE
String getEncoding()
String getContentType()
void render(Object context, Appendable out) throws IOException
IOExceptionvoid render(Map<String,Object> context, Object[] children, Appendable out)
Copyright © 2017. All Rights Reserved.