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

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