索引
All Classes and Interfaces|常量字段值|所有程序包|序列化表格
A
- add(Object, Object) - 类中的方法 org.beetl.ext.fn.ArrayUtil
- add(Object, Object, int) - 类中的方法 org.beetl.ext.fn.ArrayUtil
- AllGlobaAsJsonlFunction - org.beetl.ext.fn中的类
- AllGlobaAsJsonlFunction() - 类的构造器 org.beetl.ext.fn.AllGlobaAsJsonlFunction
- ArrayUtil - org.beetl.ext.fn中的类
- ArrayUtil() - 类的构造器 org.beetl.ext.fn.ArrayUtil
- ASSERT - 类中的静态变量 org.beetl.ext.fn.AssertFunction
- AssertFunction - org.beetl.ext.fn中的类
-
如果表达式为false,则抛出异常,不再解析 ${assert(1==1)}
- AssertFunction() - 类的构造器 org.beetl.ext.fn.AssertFunction
C
- cacheManager - 类中的静态变量 org.beetl.ext.tag.cache.CacheTag
- CacheManager - org.beetl.ext.tag.cache中的接口
-
cache标签的接口,默认使用SimpleCacheManager,用户可以实现自定义的CacheManager 并调用CacheTag.cacheManager = yourCacheManager来实现
- CacheTag - org.beetl.ext.tag.cache中的类
-
cache标签,模板页面可以通过cache标签缓存模板内容
- CacheTag() - 类的构造器 org.beetl.ext.tag.cache.CacheTag
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.AllGlobaAsJsonlFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.AssertFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.CheckExistFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.DateFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.DebugFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.DecodeFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.DynamicGlobalValueFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.EmptyExpressionFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.EmptyFunction
-
已过时。
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.EnvFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.Flush
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.GetValueFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.HasAttributeFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.IsNotEmptyExpressionFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.Json
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.NVLFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.PageContextFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.ParentTagFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.ParseDouble
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.ParseInt
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.ParseLong
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.Print
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.Printf
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.PrintFile
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.Println
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.QuestionMark
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.Range
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.ResourceFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.TruncFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.TruncFunction2
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.TypeNameFunction
- call(Object[], Context) - 类中的方法 org.beetl.ext.fn.TypeNewFunction
- CheckExistFunction - org.beetl.ext.fn中的类
-
判断是否存在全局变量,是否存在全局变量userList,sessions ${has(userList,sessions)} 参数可以一个到多个
- CheckExistFunction() - 类的构造器 org.beetl.ext.fn.CheckExistFunction
- clearAll() - 接口中的方法 org.beetl.ext.tag.cache.CacheManager
-
清除cache
- clearAll() - 类中的方法 org.beetl.ext.tag.cache.SimpleCacheManager
- clearAll(String) - 接口中的方法 org.beetl.ext.tag.cache.CacheManager
-
删除key对应的对象
- clearAll(String) - 类中的方法 org.beetl.ext.tag.cache.SimpleCacheManager
- clearAll(String...) - 接口中的方法 org.beetl.ext.tag.cache.CacheManager
-
删除keys对应的所有缓存对象
- clearAll(String...) - 类中的方法 org.beetl.ext.tag.cache.SimpleCacheManager
- collection2Array(Collection) - 类中的方法 org.beetl.ext.fn.ArrayUtil
- contain(Object, Object) - 类中的方法 org.beetl.ext.fn.ArrayUtil
- contain(String, String) - 类中的方法 org.beetl.ext.fn.StringUtil
- CStyleIfStatement - org.beetl.ext.program中的类
-
不考虑对象是否是为boolean类型,类似c
- CStyleIfStatement(Expression, Statement, Statement, GrammarToken) - 类的构造器 org.beetl.ext.program.CStyleIfStatement
D
- DateFormat - org.beetl.ext.format中的类
-
日期格式化函数,如 ${date,dateFormat='yyyy-Mm-dd'},如果没有patten,则使用local
- DateFormat() - 类的构造器 org.beetl.ext.format.DateFormat
- DateFunction - org.beetl.ext.fn中的类
-
日期函数,如
- DateFunction() - 类的构造器 org.beetl.ext.fn.DateFunction
- DebugFunction - org.beetl.ext.fn中的类
-
在控制台输出对象,如
- DebugFunction() - 类的构造器 org.beetl.ext.fn.DebugFunction
- DecodeFunction - org.beetl.ext.fn中的类
-
if else 函数的简单实现 ${decode(a,1,"a=1",2,"a=2","不知道了")} 如果a是1,这decode输出"a=1",如果a是2,则输出"a==2", 如果是其他值,则输出"不知道了"
- DecodeFunction() - 类的构造器 org.beetl.ext.fn.DecodeFunction
- defaultLayoutName - 类中的静态变量 org.beetl.ext.tag.html.LayoutResourceHtmlTag
- defaultLayoutName - 类中的静态变量 org.beetl.ext.tag.LayoutTag
- DeleteTag - org.beetl.ext.tag中的类
-
什么都不干的tag,遗留代码
- DeleteTag() - 类的构造器 org.beetl.ext.tag.DeleteTag
- DynamicGlobalValueFunction - org.beetl.ext.fn中的类
-
动态引用全局变量,dynamic(a+"_index");
- DynamicGlobalValueFunction() - 类的构造器 org.beetl.ext.fn.DynamicGlobalValueFunction
E
- EmptyExpressionFunction - org.beetl.ext.fn中的类
-
判断全局变量是否为“空”,下列情况属于为空·的情况,返回true 变量不存在 变量存在,但为null 变量存在,但是字符,其长途为0 变量存在,但是空集合 变量存在,但是空数组 参数可以一个到多个,如
- EmptyExpressionFunction() - 类的构造器 org.beetl.ext.fn.EmptyExpressionFunction
- EmptyFunction - org.beetl.ext.fn中的类
-
已过时。
- EmptyFunction() - 类的构造器 org.beetl.ext.fn.EmptyFunction
-
已过时。
- enable - 类中的静态变量 org.beetl.ext.fn.DebugFunction
- endWith(String, String) - 类中的方法 org.beetl.ext.fn.StringUtil
- EnvFunction - org.beetl.ext.fn中的类
-
输出模板引擎配置信息,定界符信息,全局变量和当前调用栈
- EnvFunction() - 类的构造器 org.beetl.ext.fn.EnvFunction
- execute(Context) - 类中的方法 org.beetl.ext.program.CStyleIfStatement
- extendString(int, int) - 类中的静态方法 org.beetl.ext.fn.StringUtil
-
把数字扩展到固定长度.
- extendString(String, int, char, boolean, boolean) - 类中的静态方法 org.beetl.ext.fn.StringUtil
-
完成字符串扩展到固定长度
F
- FastJsonTool - org.beetl.ext.util中的类
-
封装了 Fastjson 的 JSON 序列化操作
- FastJsonTool() - 类的构造器 org.beetl.ext.util.FastJsonTool
- find(String, String) - 类中的方法 org.beetl.ext.fn.RegxFunctionUtil
-
根据正则表达式找到字符串
- findList(String, String) - 类中的方法 org.beetl.ext.fn.RegxFunctionUtil
-
找到符合正则表达式的所有字符串
- Flush - org.beetl.ext.fn中的类
- Flush() - 类的构造器 org.beetl.ext.fn.Flush
- ForeachHtmlTag - org.beetl.ext.tag.html中的类
-
<html:set value="${user.name}" export="name" ></html:set>
- ForeachHtmlTag() - 类的构造器 org.beetl.ext.tag.html.ForeachHtmlTag
- format(Object, String) - 类中的方法 org.beetl.ext.format.DateFormat
- format(Object, String) - 类中的方法 org.beetl.ext.format.NumberFormat
- format(String, Object[]) - 类中的方法 org.beetl.ext.fn.StringUtil
- formatDate(Date, String) - 类中的方法 org.beetl.ext.fn.StringUtil
G
- get() - 类中的静态方法 org.beetl.ext.util.JsonFactory
- getObject(String) - 接口中的方法 org.beetl.ext.tag.cache.CacheManager
-
获取key值对应的对象
- getObject(String) - 类中的方法 org.beetl.ext.tag.cache.SimpleCacheManager
- getRelResourceId() - 类中的方法 org.beetl.ext.tag.html.IncludeResourceFragmentHtmlTag
- getRelResourceId() - 类中的方法 org.beetl.ext.tag.html.IncludeResourceHtmlTag
- getRelResourceId() - 类中的方法 org.beetl.ext.tag.html.LayoutResourceHtmlTag
- getRelResourceId() - 类中的方法 org.beetl.ext.tag.IncludeFragmentTag
- getRelResourceId() - 类中的方法 org.beetl.ext.tag.IncludeTag
- getRelResourceId() - 类中的方法 org.beetl.ext.tag.LayoutTag
- getTargetResource() - 类中的方法 org.beetl.ext.tag.html.IncludeResourceFragmentHtmlTag
- getTargetResource() - 类中的方法 org.beetl.ext.tag.html.IncludeResourceHtmlTag
- getTargetResource() - 类中的方法 org.beetl.ext.tag.html.LayoutResourceHtmlTag
- GetValueFunction - org.beetl.ext.fn中的类
-
内部使用
- GetValueFunction() - 类的构造器 org.beetl.ext.fn.GetValueFunction
H
- HasAttributeFunction - org.beetl.ext.fn中的类
-
判断指定对象是否包含属性 if(hasAttribute(xxx,"name","age")
- HasAttributeFunction() - 类的构造器 org.beetl.ext.fn.HasAttributeFunction
I
- IfHtmlTag - org.beetl.ext.tag.html中的类
-
一个html标签方式的tag,同includeTag
- IfHtmlTag() - 类的构造器 org.beetl.ext.tag.html.IfHtmlTag
- IncludeFragmentTag - org.beetl.ext.tag中的类
-
包含模板的一部分内容,类似ajax渲染
- IncludeFragmentTag() - 类的构造器 org.beetl.ext.tag.IncludeFragmentTag
- IncludeResourceFragmentHtmlTag - org.beetl.ext.tag.html中的类
-
一个html标签方式的tag,同includeTag <#html:includeFragment file="" fragment="" arg1="" arg2=""/>
- IncludeResourceFragmentHtmlTag() - 类的构造器 org.beetl.ext.tag.html.IncludeResourceFragmentHtmlTag
- IncludeResourceHtmlTag - org.beetl.ext.tag.html中的类
-
一个html标签方式的tag,同includeTag <#html:include file="" arg1="" arg2=""/>
- IncludeResourceHtmlTag() - 类的构造器 org.beetl.ext.tag.html.IncludeResourceHtmlTag
- IncludeTag - org.beetl.ext.tag中的类
- IncludeTag() - 类的构造器 org.beetl.ext.tag.IncludeTag
- index(String, String) - 类中的方法 org.beetl.ext.fn.StringUtil
- isDisable(String) - 接口中的方法 org.beetl.ext.tag.cache.CacheManager
-
查看key值对应的对象是否存在
- isDisable(String) - 类中的方法 org.beetl.ext.tag.cache.SimpleCacheManager
- isEmpty(Object) - 类中的方法 org.beetl.ext.fn.EmptyExpressionFunction
- IsNotEmptyExpressionFunction - org.beetl.ext.fn中的类
-
判断全局变量是否为“空”,下列情况属于为空·的情况,将返回为false 变量不存在 变量存在,但为null 变量存在,但是字符,其长途为0 变量存在,但是空集合 变量存在,但是空数组 参数可以一个到多个,如
- IsNotEmptyExpressionFunction() - 类的构造器 org.beetl.ext.fn.IsNotEmptyExpressionFunction
- isSuccess(Object) - 类中的方法 org.beetl.ext.program.CStyleIfStatement
J
- JacksonTool - org.beetl.ext.util中的类
-
封装了 Jackson 的 JSON 序列化操作
- JacksonTool() - 类的构造器 org.beetl.ext.util.JacksonTool
- join(String[], String) - 类中的方法 org.beetl.ext.fn.StringUtil
- Json - org.beetl.ext.fn中的类
-
使用jackson或者fastjson 序列化对对象
- Json() - 类的构造器 org.beetl.ext.fn.Json
- JsonFactory - org.beetl.ext.util中的类
-
用于加载 JSON 序列化工具的工厂类 预置
JacksonTool和FastJsonTool - JsonFactory() - 类的构造器 org.beetl.ext.util.JsonFactory
- JsonTool - org.beetl.ext.util中的接口
-
JSON 序列化的抽象
L
- lastIndex(String, String) - 类中的方法 org.beetl.ext.fn.StringUtil
- layoutNameAttr - 类中的静态变量 org.beetl.ext.tag.html.LayoutResourceHtmlTag
- LayoutResourceHtmlTag - org.beetl.ext.tag.html中的类
-
同layoutTag,采用html方式布局 <#html:layout parent="" attr1="" attr2=""> </#html:layout>
- LayoutResourceHtmlTag() - 类的构造器 org.beetl.ext.tag.html.LayoutResourceHtmlTag
- LayoutTag - org.beetl.ext.tag中的类
-
提供一个布局功能,每个页面总是由一定布局,如页面头,菜单,页面脚,以及正文 layout标签允许为正文指定一个布局,如下使用方式
- LayoutTag() - 类的构造器 org.beetl.ext.tag.LayoutTag
- length(String) - 类中的方法 org.beetl.ext.fn.StringUtil
- lock - 类中的变量 org.beetl.ext.tag.cache.SimpleCacheManager
M
- main(String[]) - 类中的静态方法 org.beetl.ext.fn.ArrayUtil
- main(String[]) - 类中的静态方法 org.beetl.ext.fn.Printf
- main(String[]) - 类中的静态方法 org.beetl.ext.fn.RegxFunctionUtil
- main(String[]) - 类中的静态方法 org.beetl.ext.fn.TruncFunction2
- map - 类中的变量 org.beetl.ext.tag.cache.SimpleCacheManager
- match(String, String) - 类中的方法 org.beetl.ext.fn.RegxFunctionUtil
-
进行正则判断
N
- NumberFormat - org.beetl.ext.format中的类
- NumberFormat() - 类的构造器 org.beetl.ext.format.NumberFormat
- NVLFunction - org.beetl.ext.fn中的类
-
函数nvl,如果对象为null,则返回第二个参数,否则,返回自己 ${nvl(user,"不存在"}
- NVLFunction() - 类的构造器 org.beetl.ext.fn.NVLFunction
O
- org.beetl.ext.fn - 程序包 org.beetl.ext.fn
- org.beetl.ext.format - 程序包 org.beetl.ext.format
- org.beetl.ext.program - 程序包 org.beetl.ext.program
- org.beetl.ext.tag - 程序包 org.beetl.ext.tag
- org.beetl.ext.tag.cache - 程序包 org.beetl.ext.tag.cache
- org.beetl.ext.tag.html - 程序包 org.beetl.ext.tag.html
- org.beetl.ext.util - 程序包 org.beetl.ext.util
P
- PageContextFunction - org.beetl.ext.fn中的类
-
用于web开发,提供一个存放变量的pageContext,存放变量,随后再任意地方使用
- PageContextFunction() - 类的构造器 org.beetl.ext.fn.PageContextFunction
- ParentTagFunction - org.beetl.ext.fn中的类
- ParentTagFunction() - 类的构造器 org.beetl.ext.fn.ParentTagFunction
- ParseDouble - org.beetl.ext.fn中的类
- ParseDouble() - 类的构造器 org.beetl.ext.fn.ParseDouble
- ParseInt - org.beetl.ext.fn中的类
- ParseInt() - 类的构造器 org.beetl.ext.fn.ParseInt
- ParseLong - org.beetl.ext.fn中的类
- ParseLong() - 类的构造器 org.beetl.ext.fn.ParseLong
- Print - org.beetl.ext.fn中的类
-
<% print("hello") %>
- Print() - 类的构造器 org.beetl.ext.fn.Print
- Printf - org.beetl.ext.fn中的类
- Printf() - 类的构造器 org.beetl.ext.fn.Printf
- PrintFile - org.beetl.ext.fn中的类
-
${includeStatic(file)}
- PrintFile() - 类的构造器 org.beetl.ext.fn.PrintFile
- Println - org.beetl.ext.fn中的类
-
<% println("hello") % >
- Println() - 类的构造器 org.beetl.ext.fn.Println
Q
- QuestionMark - org.beetl.ext.fn中的类
-
${qmark(score<60,"及格","不及格")}
- QuestionMark() - 类的构造器 org.beetl.ext.fn.QuestionMark
R
- range(Object, int, int) - 类中的方法 org.beetl.ext.fn.ArrayUtil
- Range - org.beetl.ext.fn中的类
- Range() - 类的构造器 org.beetl.ext.fn.Range
- RegxFunctionUtil - org.beetl.ext.fn中的类
- RegxFunctionUtil() - 类的构造器 org.beetl.ext.fn.RegxFunctionUtil
- remove(Object, Object) - 类中的方法 org.beetl.ext.fn.ArrayUtil
- render() - 类中的方法 org.beetl.ext.tag.cache.CacheTag
- render() - 类中的方法 org.beetl.ext.tag.DeleteTag
- render() - 类中的方法 org.beetl.ext.tag.html.ForeachHtmlTag
- render() - 类中的方法 org.beetl.ext.tag.html.IfHtmlTag
- render() - 类中的方法 org.beetl.ext.tag.html.IncludeResourceFragmentHtmlTag
- render() - 类中的方法 org.beetl.ext.tag.html.IncludeResourceHtmlTag
- render() - 类中的方法 org.beetl.ext.tag.html.LayoutResourceHtmlTag
- render() - 类中的方法 org.beetl.ext.tag.html.SetHtmlTag
- render() - 类中的方法 org.beetl.ext.tag.IncludeFragmentTag
- render() - 类中的方法 org.beetl.ext.tag.IncludeTag
- render() - 类中的方法 org.beetl.ext.tag.LayoutTag
- render() - 类中的方法 org.beetl.ext.tag.TrimHtml
- render(Object) - 类中的方法 org.beetl.ext.util.FastJsonTool
- render(Object) - 类中的方法 org.beetl.ext.util.JacksonTool
- render(Object) - 接口中的方法 org.beetl.ext.util.JsonTool
-
将
object渲染成JSON字符串 - replace(String, String, String) - 类中的方法 org.beetl.ext.fn.RegxFunctionUtil
-
进行正则替换 replace中的$1 $9 分别对应group(1-9)
- replace(String, String, String) - 类中的方法 org.beetl.ext.fn.StringUtil
- ResourceFunction - org.beetl.ext.fn中的类
-
获取当前模板信息 var a = meta.resource();
- ResourceFunction() - 类的构造器 org.beetl.ext.fn.ResourceFunction
S
- SetHtmlTag - org.beetl.ext.tag.html中的类
-
<#html:set value="${user.name}" export="name" ></#html:set>
- SetHtmlTag() - 类的构造器 org.beetl.ext.tag.html.SetHtmlTag
- setObject(String, Object, long) - 接口中的方法 org.beetl.ext.tag.cache.CacheManager
- setObject(String, Object, long) - 类中的方法 org.beetl.ext.tag.cache.SimpleCacheManager
- SimpleCacheManager - org.beetl.ext.tag.cache中的类
-
简单实现
- SimpleCacheManager() - 类的构造器 org.beetl.ext.tag.cache.SimpleCacheManager
- split(String, String) - 类中的方法 org.beetl.ext.fn.RegxFunctionUtil
-
根据正则表达式进行切分
- split(String, String) - 类中的方法 org.beetl.ext.fn.StringUtil
- splitLimit(String, String, int) - 类中的方法 org.beetl.ext.fn.RegxFunctionUtil
-
根据正则表达式进行切分
- startWith(String, String) - 类中的方法 org.beetl.ext.fn.StringUtil
- StringUtil - org.beetl.ext.fn中的类
-
操作字符串的简便方法,如:
- StringUtil() - 类的构造器 org.beetl.ext.fn.StringUtil
- subString(String, int) - 类中的方法 org.beetl.ext.fn.StringUtil
- subStringTo(String, int, int) - 类中的方法 org.beetl.ext.fn.StringUtil
T
- toArray(Object...) - 类中的方法 org.beetl.ext.fn.ArrayUtil
- toLowerCase(String) - 类中的方法 org.beetl.ext.fn.StringUtil
- toUpperCase(String) - 类中的方法 org.beetl.ext.fn.StringUtil
- trim(String) - 类中的方法 org.beetl.ext.fn.StringUtil
- TrimHtml - org.beetl.ext.tag中的类
- TrimHtml() - 类的构造器 org.beetl.ext.tag.TrimHtml
- truncateDate(Date, String) - 类中的方法 org.beetl.ext.fn.TruncFunction2
- truncateNumber(Number, Number) - 类中的方法 org.beetl.ext.fn.TruncFunction2
- TruncFunction - org.beetl.ext.fn中的类
-
截取数字,剩下指定位数,如果输入0,则取整,因为这个仅仅用于输出,所以建议用format函数定制 如 ${trunc(12.333,1)},输出是12.3 推荐使用trunc2
- TruncFunction() - 类的构造器 org.beetl.ext.fn.TruncFunction
- TruncFunction2 - org.beetl.ext.fn中的类
-
截取数字,剩下指定位数,如果输入0,则取整,因为这个仅仅用于输出,所以建议用format函数定制 如 ${trunc2(12.333,1)},输出是12.3 推荐使用
- TruncFunction2() - 类的构造器 org.beetl.ext.fn.TruncFunction2
- TypeNameFunction - org.beetl.ext.fn中的类
-
返回对象simple name,原始类型都会转成对应的封装类的类型 type.name(1)
- TypeNameFunction() - 类的构造器 org.beetl.ext.fn.TypeNameFunction
- TypeNewFunction - org.beetl.ext.fn中的类
-
新建对象tpye.new("User") or type.new(User)
- TypeNewFunction() - 类的构造器 org.beetl.ext.fn.TypeNewFunction
U
- update(GrammarCreator, Expression[], GroupTemplate) - 类中的方法 org.beetl.ext.fn.CheckExistFunction
-
在语法解析阶段,把${has(userList,sessions)} 转化为 ${has("userList","sessions")}
All Classes and Interfaces|常量字段值|所有程序包|序列化表格