|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfreemarker.ext.jdom.NodeListIterator
public class NodeListIterator
Iterator model for NodeListModel. This implements a thread-safe
iterator over JDOM lists.
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true if nodes can be returned by a call to next(). |
boolean |
isEmpty()
Is the object empty? |
TemplateModel |
next()
Returns the next node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean hasNext()
next().
hasNext in interface TemplateIteratorModeltrue if there are more items to be iterated over,
otherwise falsepublic TemplateModel next()
next in interface TemplateIteratorModel
public boolean isEmpty()
throws TemplateModelException
isEmpty in interface TemplateModeltrue if this object is empty, otherwise false
TemplateModelException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||