|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InternalContextAdapter
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. |
String |
getCurrentTemplateName()
get the current template name |
Object[] |
getTemplateNameStack()
Returns the template name stack in form of an array. |
IntrospectionCacheData |
icacheGet(Object key)
returns an IntrospectionCache Data (@see IntrospectionCacheData) object if exists for the key |
void |
icachePut(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(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, localPut |
Methods inherited from interface org.apache.velocity.context.InternalEventContext |
---|
attachEventCartridge, getEventCartridge |
Method Detail |
---|
void pushCurrentTemplateName(String s)
s
- current template namevoid popCurrentTemplateName()
String getCurrentTemplateName()
Object[] getTemplateNameStack()
IntrospectionCacheData icacheGet(Object key)
key
- key to find in cache
void icachePut(Object key, IntrospectionCacheData o)
key
- keyo
- IntrospectionCacheData object to place in cacheResource getCurrentResource()
void setCurrentResource(Resource r)
r
- boolean getAllowRendering()
void setAllowRendering(boolean v)
v
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |