libcommonc++
0.7
|
An XMLElement const iterator. More...
#include <XMLElementConstIterator.h++>
Public Member Functions | |
XMLElementConstIterator (const XMLElement &elem, const String &name=String::null) | |
Construct a new XMLElementConstIterator. More... | |
~XMLElementConstIterator () | |
Destructor. More... | |
void | rewind () |
Rewind the iterator to the first item in the sequence. More... | |
const XMLElement & | next () |
bool | hasNext () |
Test if there are more items in the sequence. More... | |
void | remove () |
An XMLElement const iterator.
XMLElementConstIterator | ( | const XMLElement & | elem, |
const String & | name = String::null |
||
) |
Construct a new XMLElementConstIterator.
elem | The XMLElement whose child elements will be iterated over. |
name | If not String::null, indicates that only elements with the given name should be iterated over. |
Destructor.
|
virtual |
Test if there are more items in the sequence.
Implements Iterator< const XMLElement &>.
|
virtual |
OutOfBoundsException | If the iterator is already at the end. |
Implements Iterator< const XMLElement &>.
|
virtual |
UnsupportedOperationException | If the iterator does not support this operation. |
Implements Iterator< const XMLElement &>.
|
virtual |
Rewind the iterator to the first item in the sequence.
Implements Iterator< const XMLElement &>.