Class Foreach.NullHolderContext

java.lang.Object
org.apache.velocity.context.ChainedInternalContextAdapter
org.apache.velocity.runtime.directive.Foreach.NullHolderContext
All Implemented Interfaces:
Context, InternalContextAdapter, InternalEventContext, InternalHousekeepingContext, InternalWrapperContext
Enclosing class:
Foreach

protected static class Foreach.NullHolderContext extends ChainedInternalContextAdapter
A special context to use when the foreach iterator returns a null. This is required since the standard context may not support nulls. All puts and gets are passed through, except for the foreach iterator key.
Since:
1.5