|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
interface to bring all necessary internal and user contexts together. this is what the AST expects to deal with. If anything new comes along, add it here. I will rename soon :)
Method Summary | |
boolean |
getAllowRendering()
Checks to see if rendering should be allowed. |
Resource |
getCurrentResource()
temporary fix to enable #include() to figure out current encoding. |
java.lang.String |
getCurrentTemplateName()
get the current template name |
java.lang.Object[] |
getTemplateNameStack()
Returns the template name stack in form of an array. |
IntrospectionCacheData |
icacheGet(java.lang.Object key)
returns an IntrospectionCache Data (@see IntrospectionCacheData) object if exists for the key |
void |
icachePut(java.lang.Object key,
IntrospectionCacheData o)
places an IntrospectionCache Data (@see IntrospectionCacheData) element in the cache for specified key |
void |
popCurrentTemplateName()
remove the current template name from stack |
void |
pushCurrentTemplateName(java.lang.String s)
set the current template name on top of stack |
void |
setAllowRendering(boolean v)
Set whether rendering is allowed. |
void |
setCurrentResource(Resource r)
|
Methods inherited from interface org.apache.velocity.context.Context |
containsKey, get, getKeys, put, remove |
Methods inherited from interface org.apache.velocity.context.InternalWrapperContext |
getBaseContext, getInternalUserContext |
Methods inherited from interface org.apache.velocity.context.InternalEventContext |
attachEventCartridge, getEventCartridge |
Method Detail |
public void pushCurrentTemplateName(java.lang.String s)
s
- current template namepublic void popCurrentTemplateName()
public java.lang.String getCurrentTemplateName()
public java.lang.Object[] getTemplateNameStack()
public IntrospectionCacheData icacheGet(java.lang.Object key)
key
- key to find in cache
public void icachePut(java.lang.Object key, IntrospectionCacheData o)
key
- keyo
- IntrospectionCacheData object to place in cachepublic Resource getCurrentResource()
public void setCurrentResource(Resource r)
public boolean getAllowRendering()
public void setAllowRendering(boolean v)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |