public class DatasourceVelocityContext
extends org.apache.velocity.VelocityContext
| Constructor and Description |
|---|
DatasourceVelocityContext(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.velocity.app.event.EventCartridge |
attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0) |
void |
clearParameters() |
Object |
get(String key) |
int |
getCurrentMacroCallDepth() |
String |
getCurrentMacroName() |
org.apache.velocity.runtime.resource.Resource |
getCurrentResource() |
String |
getCurrentTemplateName() |
org.apache.velocity.app.event.EventCartridge |
getEventCartridge() |
List |
getMacroLibraries() |
Object[] |
getMacroNameStack() |
Object[] |
getTemplateNameStack() |
org.apache.velocity.util.introspection.IntrospectionCacheData |
icacheGet(Object arg0) |
void |
icachePut(Object arg0,
org.apache.velocity.util.introspection.IntrospectionCacheData arg1) |
void |
popCurrentMacroName() |
void |
popCurrentTemplateName() |
void |
pushCurrentMacroName(String arg0) |
void |
pushCurrentTemplateName(String arg0) |
void |
putParameter(String key,
String value) |
void |
setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0) |
void |
setMacroLibraries(List arg0) |
clone, internalContainsKey, internalGet, internalGetKeys, internalPut, internalRemovepublic DatasourceVelocityContext(Properties properties)
public void clearParameters()
public Object get(String key)
get in interface org.apache.velocity.context.Contextget in class org.apache.velocity.context.AbstractContextpublic void pushCurrentTemplateName(String arg0)
public void popCurrentTemplateName()
public String getCurrentTemplateName()
public Object[] getTemplateNameStack()
public void pushCurrentMacroName(String arg0)
public void popCurrentMacroName()
public String getCurrentMacroName()
public int getCurrentMacroCallDepth()
public Object[] getMacroNameStack()
public org.apache.velocity.util.introspection.IntrospectionCacheData icacheGet(Object arg0)
public void icachePut(Object arg0, org.apache.velocity.util.introspection.IntrospectionCacheData arg1)
public void setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0)
public org.apache.velocity.runtime.resource.Resource getCurrentResource()
public void setMacroLibraries(List arg0)
public List getMacroLibraries()
public org.apache.velocity.app.event.EventCartridge attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0)
attachEventCartridge in interface org.apache.velocity.context.InternalEventContextpublic org.apache.velocity.app.event.EventCartridge getEventCartridge()
getEventCartridge in interface org.apache.velocity.context.InternalEventContextCopyright © 2018. All rights reserved.