|
libcommonc++
0.7
|
An XMLElement iterator. More...
#include <XMLElementIterator.h++>


Public Member Functions | |
| XMLElementIterator (XMLElement &elem, const String &name=String::null) | |
| Construct a new XMLElementIterator. More... | |
| ~XMLElementIterator () | |
| Destructor. More... | |
| void | rewind () |
| Rewind the iterator to the first item in the sequence. More... | |
| XMLElement & | next () |
| bool | hasNext () |
| Test if there are more items in the sequence. More... | |
| void | remove () |
| Remove the current item from the sequence. More... | |
An XMLElement iterator.
| XMLElementIterator | ( | XMLElement & | elem, |
| const String & | name = String::null |
||
| ) |
Construct a new XMLElementIterator.
| 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. |
| ~XMLElementIterator | ( | ) |
Destructor.
|
virtual |
Test if there are more items in the sequence.
Implements Iterator< XMLElement &>.
|
virtual |
| OutOfBoundsException | If the iterator is already at the end. |
Implements Iterator< XMLElement &>.
|
virtual |
Remove the current item from the sequence.
Implements Iterator< XMLElement &>.
|
virtual |
Rewind the iterator to the first item in the sequence.
Implements Iterator< XMLElement &>.