| 程序包 | 说明 |
|---|---|
| org.anyline.runtime | |
| org.anyline.runtime.init |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Context |
Context.parent |
| 限定符和类型 | 方法和说明 |
|---|---|
Context |
Context.clone() |
Context |
Context.parent() |
Context |
Context.replace(boolean parse,
String key,
File... words) |
Context |
Context.replace(boolean parse,
String key,
List<File> words) |
Context |
Context.replace(boolean html,
String key,
String content)
设置占位符替换值 在调用save时执行替换
注意如果不解析的话 不会添加自动${}符号 按原文替换,是替换整个文件的纯文件,包括标签名在内 |
Context |
Context.replace(String key,
File... words) |
Context |
Context.replace(String key,
String content) |
Context |
Context.variable(Map<String,Object> values) |
Context |
Context.variable(String key,
Object value) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Context.parent(Context parent) |
Object |
ExpressionActuator.run(Context context,
String namespace,
String tag,
LinkedHashMap<String,String> attributes,
String body)
解析value
|
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
UUIDActuator.run(Context context,
String namespace,
String tag,
LinkedHashMap<String,String> attributes,
String body)
随机数字
|
Object |
TimestampActuator.run(Context context,
String namespace,
String tag,
LinkedHashMap<String,String> attributes,
String body)
当前时间戳
|
Object |
RandomActuator.run(Context context,
String namespace,
String tag,
LinkedHashMap<String,String> attributes,
String body)
随机字符
|
Object |
NumberActuator.run(Context context,
String namespace,
String tag,
LinkedHashMap<String,String> attributes,
String body)
随机数字
|
Object |
DateTimeActuator.run(Context context,
String namespace,
String tag,
LinkedHashMap<String,String> attributes,
String body)
当前时间
|
Copyright © 2025. All rights reserved.