org.apache.velocity.context
interface InternalHousekeepingContext
Version: $Id: InternalHousekeepingContext.java,v 1.6.12.1 2004/03/03 23:22:54 geirm Exp $
Method Summary | |
---|---|
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 | setCurrentResource(Resource r) |
Returns: String current template name
Returns: Object[] with the template name stack contents.
Parameters: key key to find in cache
Returns: cache object
Parameters: key key o IntrospectionCacheData object to place in cache
Parameters: s current template name