| 程序包 | 说明 |
|---|---|
| org.xmeta | |
| org.xmeta.util |
| 限定符和类型 | 方法和说明 |
|---|---|
Bindings |
ActionContext.g()
获取全局变量的缩写。
|
Bindings |
ActionContext.getGlobalScope()
获取全局变量。
|
Bindings |
ActionContext.getLocalScope()
获取当前本地变量.
|
Bindings |
ActionContext.getScope()
获取当前的局部变量范围,如果没有这是局部变量范围将返回null。
|
Bindings |
ActionContext.getScope(int index)
返回指定范围的变量绑定。
|
Bindings |
ActionContext.getScope(String actionThingPath)
根据动作事物的路径来获得变量范围。
|
Bindings |
ActionContext.l()
获取局部变量的缩写。
|
Bindings |
ActionContext.l(int index)
返回指定索引的局部变量集合,用于多个局部变量包含的情形,如Begin套Begin。
|
Bindings |
ActionContext.peek()
返回最顶层的变量绑定。
|
Bindings |
ActionContext.pop()
弹出最顶层的变量绑定。
|
Bindings |
ActionContext.push() |
Bindings |
ActionContext.push(Bindings bindings)
压入一个变量绑定到堆栈中,当传入的变量绑定为null时自动创建一个新的。
|
Bindings |
ActionContext.pushPoolBindings() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Bindings> |
ActionException.getBindings()
如果构造ActionExeption时传入了ActionContext,那么可以获取它的所有Bindings此时返回的列表不为空,其他则为空。
|
List<Bindings> |
ActionContext.getScopes()
返回变量绑定的列表。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Bindings |
ActionContext.push(Bindings bindings)
压入一个变量绑定到堆栈中,当传入的变量绑定为null时自动创建一个新的。
|
| 构造器和说明 |
|---|
ActionContext(Bindings bindings)
创建一个变量上下文,使用指定的全局变量Bindings。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Bindings |
UtilAction.getReservedVars(String reservedVars,
ActionContext actionContext)
从actionContext获取需要保留的变量。
|
static Bindings |
UtilAction.getVarScope(String varScope,
ActionContext actionContext)
通过VarScope的字符串返回相应的Scope,如Gloabl, Local等。
|
static Bindings |
UtilAction.getVarScope(Thing action,
ActionContext actionContext)
获取变量范围。
|
Copyright © 2022 xworker.org. All rights reserved.