Packagegs.util.iters
Classpublic class XMLListIterator

The XMLListIterator iterates an XMLList object.



Public Methods
 MethodDefined by
  
XMLListIterator(xml:XMLList)
Constructor for XMLListIterator instance.
XMLListIterator
  
dispose():void
Dispose of this iterator.
XMLListIterator
  
first():*
Get the first item and reset the cursor
XMLListIterator
  
hasNext():Boolean
Whether or not there's a next item.
XMLListIterator
  
hasPrev():Boolean
Whether or not there's a previous item.
XMLListIterator
  
last():*
Get the last item and reset the cursor.
XMLListIterator
  
next():*
The next xml item.
XMLListIterator
  
prev():*
The previous xml item.
XMLListIterator
Constructor detail
XMLListIterator()constructor
public function XMLListIterator(xml:XMLList)

Constructor for XMLListIterator instance.

Parameters
xml:XMLList — An XMLList.
Method detail
dispose()method
public function dispose():void

Dispose of this iterator.

first()method 
public function first():*

Get the first item and reset the cursor

Returns
*
hasNext()method 
public function hasNext():Boolean

Whether or not there's a next item.

Returns
Boolean
hasPrev()method 
public function hasPrev():Boolean

Whether or not there's a previous item.

Returns
Boolean
last()method 
public function last():*

Get the last item and reset the cursor.

Returns
*
next()method 
public function next():*

The next xml item.

Returns
*
prev()method 
public function prev():*

The previous xml item.

Returns
*