Introduced in: | DOM 3 Core |
The DOMStringList interface provides the abstraction of an ordered
collection of DOMString values, without defining or constraining how
this collection is implemented. The items in the DOMStringList are
accessible via an integral index, starting from 0.
Note (Mozilla): This type is presently not available to Mozilla as DOMConfiguration is not implemented.
length:Number
[read-only]
Introduced in: | DOM 3 Core |
The number of DOMStrings in the list. The range of valid child
node indices is 0 to length-1 inclusive.
Implementation public function get length():Number
See also
public function contains(str:DOMString):Boolean
Introduced in: | DOM 3 Core |
The column number this locator is pointing to, or -1 if there is no
column number available.
Parameters
Returns | Boolean — If the string has been found.
|
See also
public function item(index:Number):DOMString
Introduced in: | DOM 3 Core |
Returns the index of the item in the collection. If index is greater than
or equal to the number of DOMStrings in the list, this returns null.
Parameters
| index:Number — Index into the collection.
|
Returns | DOMString — The DOMString at the index position in the DOMStringList, or null
if that is not a valid index.
|
See also
Mon Aug 17 2009, 10:08 AM -04:00