Package | Description |
---|---|
com.jfinal.plugin.activerecord | |
com.jfinal.plugin.activerecord.sql | |
com.jfinal.template | |
com.jfinal.template.source |
Modifier and Type | Method and Description |
---|---|
ActiveRecordPlugin |
ActiveRecordPlugin.addSqlTemplate(ISource sqlTemplate) |
Modifier and Type | Method and Description |
---|---|
void |
SqlKit.addSqlTemplate(ISource sqlTemplate) |
Modifier and Type | Field and Description |
---|---|
protected List<ISource> |
Env.sourceList |
Modifier and Type | Method and Description |
---|---|
Engine |
Engine.addSharedFunction(ISource source)
Add shared function by ISource
|
void |
EngineConfig.addSharedFunction(ISource source)
Add shared function by ISource
|
void |
Env.addSource(ISource source)
添加本 Template 的 ISource,以及该 Template 使用 include 包含进来的所有 ISource
以便于在 devMode 之下判断该 Template 是否被 modified,进而 reload 该 Template
|
Template |
Engine.getTemplate(ISource source)
Get template with implementation of ISource
|
Modifier and Type | Class and Description |
---|---|
class |
ClassPathSource
ClassPathSource 用于从 class path 以及 jar 包之中加载模板内容
|
class |
FileSource
FileSource 用于从普通文件中加载模板内容
|
class |
StringSource
StringSource 用于从 String 变量中加载模板内容
|
Modifier and Type | Method and Description |
---|---|
ISource |
ISourceFactory.getSource(String baseTemplatePath,
String fileName,
String encoding) |
ISource |
FileSourceFactory.getSource(String baseTemplatePath,
String fileName,
String encoding) |
ISource |
ClassPathSourceFactory.getSource(String baseTemplatePath,
String fileName,
String encoding) |
Copyright © 2018. All rights reserved.