public class TinyVelocityContext extends ContextImpl
| Constructor and Description |
|---|
TinyVelocityContext(Map map,
WebContext webContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exist(String name)
检测参数是否存在
|
<T> T |
get(String name)
改写get方法,使得可以从父环境中查找,同时,也可以从子环境中查找 先找自己,再找子,再找父
|
WebContext |
getWebContext() |
clear, clearSubContext, contain, containNodeMap, createSubContext, existNodeMap, findNodeMap, getInSubContext, getItemMap, getParent, getSubContext, getSubContextMap, getTotalContext, getTotalItemMap, put, putContext, putSubContext, remove, removeSubContext, renameKey, renameKeyNodeMap, setParentget, put, putAll, remove, setItemMap, sizepublic TinyVelocityContext(Map map, WebContext webContext)
public <T> T get(String name)
ContextImplget in interface BaseContextget in class ContextImplname - 参数名称public WebContext getWebContext()
public boolean exist(String name)
BaseContextexist in interface BaseContextexist in class ContextImplname - 参数名称Copyright © 2006–2018 TinyGroup. All rights reserved.