Package | Description |
---|---|
org.apache.velocity.runtime.directive |
Modifier and Type | Class and Description |
---|---|
class |
ForeachScope
This represents scoping and metadata for #foreach,
adding index, count, hasNext, isFirst and isLast info.
|
Modifier and Type | Method and Description |
---|---|
Scope |
Scope.getParent()
Returns the parent control reference overridden by the placement
of this instance in the context.
|
Scope |
Scope.getTopmost()
Returns the topmost parent control reference, retrieved
by simple recursion on
getParent() . |
protected Scope |
Directive.makeScope(Object prev) |
Constructor and Description |
---|
Info(Scope scope,
Object owner)
c'tor
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.