public class VelocityContext
extends org.apache.velocity.VelocityContext
| 构造器和说明 |
|---|
VelocityContext(org.apache.velocity.app.VelocityEngine engine) |
VelocityContext(org.apache.velocity.app.VelocityEngine engine,
org.apache.velocity.context.Context innerContext) |
VelocityContext(org.apache.velocity.app.VelocityEngine engine,
Map<String,Object> context,
org.apache.velocity.context.Context innerContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.velocity.app.VelocityEngine |
getEngine()
获取引擎
|
protected String |
getName()
实例名称
|
ContextSecretary |
getSecretary()
获取策略
|
Object |
internalGet(String key)
获取资源
|
void |
put(Class<?> clazz) |
clone, internalContainsKey, internalGetKeys, internalPut, internalRemovepublic VelocityContext(org.apache.velocity.app.VelocityEngine engine)
public VelocityContext(org.apache.velocity.app.VelocityEngine engine,
org.apache.velocity.context.Context innerContext)
protected String getName()
public org.apache.velocity.app.VelocityEngine getEngine()
public ContextSecretary getSecretary()
public void put(Class<?> clazz)
Copyright © 2024. All rights reserved.