Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.dom

public Class DOMImplementationListImpl

extends Object
implements DOMImplementationList
Class Inheritance
All Implemented Interfaces
org.w3c.dom.DOMImplementationList
Imports
java.util.ArrayList, .List, org.w3c.dom.DOMImplementation, .DOMImplementationList

This class implements the DOM Level 3 Core interface DOMImplementationList.

Author
Neil Delima, IBM
Since
DOM Level 3 Core

Field Summary

Modifier and TypeField and Description
private List<DOMImplementation>

Constructor Summary

AccessConstructor and Description
public
DOMImplementationListImpl()

Construct an empty list of DOMImplementations

public
DOMImplementationListImpl(List<DOMImplementation> params)

Construct an empty list of DOMImplementations

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

An integer indicating the number of DOMImplementations.
getLength
()

Implements org.w3c.dom.DOMImplementationList.getLength.

Returns the number of DOMImplementations in the list.

public DOMImplementation
item(int
The index of the DOMImplemetation from the list to return.
index
)

Implements org.w3c.dom.DOMImplementationList.item.

Returns the indexth item in the collection.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fImplementationsback to summary
private List<DOMImplementation> fImplementations

Constructor Detail

DOMImplementationListImplback to summary
public DOMImplementationListImpl()

Construct an empty list of DOMImplementations

DOMImplementationListImplback to summary
public DOMImplementationListImpl(List<DOMImplementation> params)

Construct an empty list of DOMImplementations

Method Detail

getLengthback to summary
public int getLength()

Implements org.w3c.dom.DOMImplementationList.getLength.

Returns the number of DOMImplementations in the list.

Returns:int

An integer indicating the number of DOMImplementations.

itemback to summary
public DOMImplementation item(int index)

Implements org.w3c.dom.DOMImplementationList.item.

Returns the indexth item in the collection.

Parameters
index:int

The index of the DOMImplemetation from the list to return.

Returns:DOMImplementation

Doc from org.w3c.dom.DOMImplementationList.item.

The DOMImplementation at the index th position in the DOMImplementationList, or null if that is not a valid index.