|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.objectModel.jdom.TJDOMElementIterator
public class TJDOMElementIterator
TJDOMElementIterator is a convenience class. It provides a simple unidirectional iterator for iterating typesafe over JDOM Element instances. You can create a TJDOMElementIterator instance with a TXMLObjectIterator for TXMLObject instances of a JDOM object model.
Constructor Summary | |
---|---|
TJDOMElementIterator(TXMLObjectIterator xmlObjectIterator)
Initializes an iterator with a TXMLObjectIterator instance. |
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if the iteration has more JDOM Element instances. |
org.jdom.Element |
next()
Returns the next JDOM Element instance in the list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TJDOMElementIterator(TXMLObjectIterator xmlObjectIterator)
xmlObjectIterator
- a TXMLObjectIterator instance.Method Detail |
---|
public boolean hasNext()
public org.jdom.Element next() throws TNoSuchXMLObjectException, TIteratorException
java.util.NoSuchElementException
- if iteration has no more JDOM Element instances.
TIteratorException
- signals an error while attempting to return the next JDOM Element instance.
TNoSuchXMLObjectException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |