Class InternalContextBase

java.lang.Object
org.apache.velocity.context.InternalContextBase
All Implemented Interfaces:
InternalEventContext, InternalHousekeepingContext
Direct Known Subclasses:
AbstractContext

class InternalContextBase extends Object implements InternalHousekeepingContext, InternalEventContext
class to encapsulate the 'stuff' for internal operation of velocity. We use the context as a thread-safe storage : we take advantage of the fact that it's a visitor of sorts to all nodes (that matter) of the AST during init() and render(). Currently, it carries the template name for namespace support, as well as node-local context data introspection caching. Note that this is not a public class. It is for package access only to keep application code from accessing the internals, as AbstractContext is derived from this.
Version:
$Id: InternalContextBase.java 731266 2009-01-04 15:11:20Z byron $