An XMLElement const iterator. More...
#include <XMLElementConstIterator.h++>

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