Packagedom.core
Interfacepublic interface DOMStringList

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.

See also

MDC - DOMStringList
DOMStringList


Public Properties
 PropertyDefined By
  DOM 3 Core length : Number
[read-only] The number of DOMStrings in the list.
DOMStringList
Public Methods
 MethodDefined By
  
DOM 3 Core contains(str:DOMString):Boolean
The column number this locator is pointing to, or -1 if there is no column number available.
DOMStringList
  
DOM 3 Core item(index:Number):DOMString
Returns the index of the item in the collection.
DOMStringList
Property Detail
DOM 3 Core lengthproperty
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

Method Detail
DOM 3 Core contains()method
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

str:DOMString — The string to look for.

Returns
Boolean — If the string has been found.

See also

DOM 3 Core item()method 
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