XMLListIterator

Kind of class:public class
Package:com.bourre.collection
Inherits from:none
Implements:
Author:Cedric Nehemie
Classpath:com.bourre.collection.XMLListIterator
File last modified:Monday, 24 November 2008, 11:36:49
The XMLListIterator class provides a convenient way
to iterate through each entry of an XMLList instance.

Iterations are performed from 0 to length
of the passed-in XMLList instance.

See also:

Summary


Constructor
  • XMLListIterator (list:XMLList)
    • Creates a new iterator for the passed-in XMLList instance.
Instance methods

Constructor

XMLListIterator

public function XMLListIterator (
list:XMLList)

Creates a new iterator for the passed-in XMLList instance.
Parameters:
list:
XMLList iterator's target

Instance methods

hasNext

public function hasNext (
) : Boolean

Returns:
  • XMLListIterator if the iterator has more elements.
    #
Specified by:

remove

public function remove (
) : void

Throws:
  • {VISDOC_LINK_0}0 — if the remove operation is not
    supported by this Iterator.
    #
  • {VISDOC_LINK_1}length — if the next method has not yet been called,
    or the remove method has already been called after the last
    call to the next method.
    #
Specified by: