org.apache.xerces.dom3.as

Interface ASObjectList

public interface ASObjectList

Method Summary

int
getLength()
The number of ASObjects in the list.
ASObject
item(int index)
Returns the indexth item in the collection.

Method Details

getLength

public int getLength()
The number of ASObjects in the list. The range of valid child node indices is 0 to length-1 inclusive.

item

public ASObject item(int index)
Returns the indexth item in the collection. The index starts at 0. If index is greater than or equal to the number of nodes in the list, this returns null.
Parameters:
index - index into the collection.
Returns:
The ASObject at the indexth position in the ASObjectList, or null if that is not a valid index.

Copyright © 1999-2004 Apache XML Project. All Rights Reserved.