class ChildEventIterator extends Object
An iterator over a model's child events, if that model represents an element with open/close tags at either end.
Models returned by this iterator are also aware of their position within the
event queue of the parent model, accessible via their index property.
| Constructor and description |
|---|
ChildEventIterator
(IModel parent)Constructor, sets the model to iterate over. |
| Type | Name and description |
|---|---|
boolean |
hasNext()Returns whether or not there is another event to be retrieved. |
ITemplateEvent |
next()Returns the next event of this model. |
void |
remove()Not applicable for this iterator. |
Constructor, sets the model to iterate over.
Returns whether or not there is another event to be retrieved.
true if there are more events to process.Returns the next event of this model.
Not applicable for this iterator.