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