Uses of Class
org.apache.velocity.tools.generic.LoopTool.ManagedIterator
Packages that use LoopTool.ManagedIterator
Package
Description
Contains a collection of reusable, general-purpose "tools" for Velocity.
-
Uses of LoopTool.ManagedIterator in org.apache.velocity.tools.generic
Methods in org.apache.velocity.tools.generic that return LoopTool.ManagedIteratorModifier and TypeMethodDescriptionLoopTool.ManagedIterator.condition(LoopTool.ActionCondition condition) Adds a newLoopTool.ActionConditionfor this instance to check against the elements in the iterator being managed.Directs this instance to completely exclude any elements equal to the specified Object.protected LoopTool.ManagedIteratorLoopTool.findIterator(String name) Finds theLoopTool.ManagedIteratorwith the specified name if it is in this instance's iterator stack.LoopTool.getThis()Returns the most recentLoopTool.ManagedIteratorfor this instance.protected LoopTool.ManagedIteratorprotected LoopTool.ManagedIteratorLoopTool.pop()Don't let templates call this, but allow subclasses and ManagedIterator to have access.Directs this instance to stop iterating immediately prior to any element equal to the specified Object.Adds another iterator to be kept in sync with the one being managed by this instance.Adds another iterator to be kept in sync with the one being managed by this instance.Tells the LoopTool to watch the specified Array, Collection, Map, Iterator, Iterable, Enumeration or POJO with an iterator() method while the template iterates over the values within it.This is just likeLoopTool.watch(Object)except that it also takes a name which is given to theLoopTool.ManagedIteratorthat is returned.