|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object freemarker.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 TemplateIteratorModel
true
if there are more items to be iterated over,
otherwise false
public TemplateModel next()
next
in interface TemplateIteratorModel
public boolean isEmpty() throws TemplateModelException
isEmpty
in interface TemplateModel
true
if this object is empty, otherwise false
TemplateModelException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |