public abstract class JbootDirectiveBase extends com.jfinal.template.Directive
| 构造器和说明 |
|---|
JbootDirectiveBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
exec(com.jfinal.template.Env env,
com.jfinal.template.stat.Scope scope,
com.jfinal.template.io.Writer writer) |
<T> T |
getPara(int index,
com.jfinal.template.stat.Scope scope) |
<T> T |
getPara(int index,
com.jfinal.template.stat.Scope scope,
T defaultValue) |
<T> T |
getPara(String key,
com.jfinal.template.stat.Scope scope) |
<T> T |
getPara(String key,
com.jfinal.template.stat.Scope scope,
T defaultValue) |
Map |
getParas(com.jfinal.template.stat.Scope scope) |
BigDecimal |
getParaToBigDecimal(int index,
com.jfinal.template.stat.Scope scope) |
BigDecimal |
getParaToBigDecimal(int index,
com.jfinal.template.stat.Scope scope,
BigDecimal defaultValue) |
BigDecimal |
getParaToBigDecimal(String key,
com.jfinal.template.stat.Scope scope) |
BigDecimal |
getParaToBigDecimal(String key,
com.jfinal.template.stat.Scope scope,
BigDecimal defaultValue) |
BigInteger |
getParaToBigInteger(int index,
com.jfinal.template.stat.Scope scope) |
BigInteger |
getParaToBigInteger(int index,
com.jfinal.template.stat.Scope scope,
BigInteger defaultValue) |
BigInteger |
getParaToBigInteger(String key,
com.jfinal.template.stat.Scope scope) |
BigInteger |
getParaToBigInteger(String key,
com.jfinal.template.stat.Scope scope,
BigInteger defaultValue) |
Boolean |
getParaToBool(int index,
com.jfinal.template.stat.Scope scope) |
Boolean |
getParaToBool(int index,
com.jfinal.template.stat.Scope scope,
Boolean defaultValue) |
Boolean |
getParaToBool(String key,
com.jfinal.template.stat.Scope scope) |
Boolean |
getParaToBool(String key,
com.jfinal.template.stat.Scope scope,
Boolean defaultValue) |
Integer |
getParaToInt(int index,
com.jfinal.template.stat.Scope scope) |
Integer |
getParaToInt(int index,
com.jfinal.template.stat.Scope scope,
Integer defaultValue) |
Integer |
getParaToInt(String key,
com.jfinal.template.stat.Scope scope) |
Integer |
getParaToInt(String key,
com.jfinal.template.stat.Scope scope,
Integer defaultValue) |
Long |
getParaToLong(int index,
com.jfinal.template.stat.Scope scope) |
Long |
getParaToLong(int index,
com.jfinal.template.stat.Scope scope,
Long defaultValue) |
Long |
getParaToLong(String key,
com.jfinal.template.stat.Scope scope) |
Long |
getParaToLong(String key,
com.jfinal.template.stat.Scope scope,
Long defaultValue) |
String |
getParaToString(int index,
com.jfinal.template.stat.Scope scope) |
String |
getParaToString(int index,
com.jfinal.template.stat.Scope scope,
String defaultValue) |
String |
getParaToString(String key,
com.jfinal.template.stat.Scope scope) |
String |
getParaToString(String key,
com.jfinal.template.stat.Scope scope,
String defaultValue) |
Map |
getRootParas(com.jfinal.template.stat.Scope scope) |
abstract void |
onRender(com.jfinal.template.Env env,
com.jfinal.template.stat.Scope scope,
com.jfinal.template.io.Writer writer) |
void |
renderBody(com.jfinal.template.Env env,
com.jfinal.template.stat.Scope scope,
com.jfinal.template.io.Writer writer) |
void |
renderText(com.jfinal.template.io.Writer writer,
String text) |
void |
setExprList(com.jfinal.template.expr.ast.ExprList exprList) |
public JbootDirectiveBase()
public void setExprList(com.jfinal.template.expr.ast.ExprList exprList)
setExprList 在类中 com.jfinal.template.Directivepublic void exec(com.jfinal.template.Env env, com.jfinal.template.stat.Scope scope, com.jfinal.template.io.Writer writer)
exec 在类中 com.jfinal.template.stat.ast.Statpublic abstract void onRender(com.jfinal.template.Env env, com.jfinal.template.stat.Scope scope, com.jfinal.template.io.Writer writer)
public void renderBody(com.jfinal.template.Env env, com.jfinal.template.stat.Scope scope, com.jfinal.template.io.Writer writer)
public void renderText(com.jfinal.template.io.Writer writer, String text)
public <T> T getPara(int index, com.jfinal.template.stat.Scope scope)
public <T> T getPara(int index, com.jfinal.template.stat.Scope scope, T defaultValue)
public String getParaToString(String key, com.jfinal.template.stat.Scope scope)
public String getParaToString(String key, com.jfinal.template.stat.Scope scope, String defaultValue)
public String getParaToString(int index, com.jfinal.template.stat.Scope scope)
public String getParaToString(int index, com.jfinal.template.stat.Scope scope, String defaultValue)
public Integer getParaToInt(String key, com.jfinal.template.stat.Scope scope)
public Integer getParaToInt(String key, com.jfinal.template.stat.Scope scope, Integer defaultValue)
public Integer getParaToInt(int index, com.jfinal.template.stat.Scope scope)
public Integer getParaToInt(int index, com.jfinal.template.stat.Scope scope, Integer defaultValue)
public Long getParaToLong(String key, com.jfinal.template.stat.Scope scope)
public Long getParaToLong(String key, com.jfinal.template.stat.Scope scope, Long defaultValue)
public Long getParaToLong(int index, com.jfinal.template.stat.Scope scope)
public Long getParaToLong(int index, com.jfinal.template.stat.Scope scope, Long defaultValue)
public Boolean getParaToBool(String key, com.jfinal.template.stat.Scope scope)
public Boolean getParaToBool(String key, com.jfinal.template.stat.Scope scope, Boolean defaultValue)
public Boolean getParaToBool(int index, com.jfinal.template.stat.Scope scope)
public Boolean getParaToBool(int index, com.jfinal.template.stat.Scope scope, Boolean defaultValue)
public BigInteger getParaToBigInteger(String key, com.jfinal.template.stat.Scope scope)
public BigInteger getParaToBigInteger(String key, com.jfinal.template.stat.Scope scope, BigInteger defaultValue)
public BigInteger getParaToBigInteger(int index, com.jfinal.template.stat.Scope scope)
public BigInteger getParaToBigInteger(int index, com.jfinal.template.stat.Scope scope, BigInteger defaultValue)
public BigDecimal getParaToBigDecimal(String key, com.jfinal.template.stat.Scope scope)
public BigDecimal getParaToBigDecimal(String key, com.jfinal.template.stat.Scope scope, BigDecimal defaultValue)
public BigDecimal getParaToBigDecimal(int index, com.jfinal.template.stat.Scope scope)
public BigDecimal getParaToBigDecimal(int index, com.jfinal.template.stat.Scope scope, BigDecimal defaultValue)
public Map getRootParas(com.jfinal.template.stat.Scope scope)
Copyright © 2024. All rights reserved.