public class TSAXElementIterator
extends java.lang.Object
Constructor and Description |
---|
TSAXElementIterator(TXMLObjectIterator xmlObjectIterator)
Initializes an iterator with a TXMLObjectIterator instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the iteration has more TSAXElement instances.
|
TSAXElement |
next()
Returns the next TSAXElement instance in the iteration.
|
public TSAXElementIterator(TXMLObjectIterator xmlObjectIterator)
xmlObjectIterator
- a TXMLObjectIterator instance.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
Copyright (c) 2017 Software AG. All Rights Reserved.