org.apache.xerces.dom
Class DOMImplementationListImpl

java.lang.Object
  extended by org.apache.xerces.dom.DOMImplementationListImpl
All Implemented Interfaces:
DOMImplementationList

public class DOMImplementationListImpl
extends java.lang.Object
implements DOMImplementationList

This class implements the DOM Level 3 Core interface DOMImplementationList.

Since:
DOM Level 3 Core
Author:
Neil Delima, IBM

Constructor Summary
DOMImplementationListImpl()
          Construct an empty list of DOMImplementations
DOMImplementationListImpl(java.util.Vector params)
          Construct an empty list of DOMImplementations
 
Method Summary
 int getLength()
          Returns the number of DOMImplementations in the list.
 DOMImplementation item(int index)
          Returns the indexth item in the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMImplementationListImpl

public DOMImplementationListImpl()
Construct an empty list of DOMImplementations


DOMImplementationListImpl

public DOMImplementationListImpl(java.util.Vector params)
Construct an empty list of DOMImplementations

Method Detail

item

public DOMImplementation item(int index)
Returns the indexth item in the collection.

Specified by:
item in interface DOMImplementationList
Parameters:
index - The index of the DOMImplemetation from the list to return.
Returns:
The DOMImplementation at the index th position in the DOMImplementationList, or null if that is not a valid index.

getLength

public int getLength()
Returns the number of DOMImplementations in the list.

Specified by:
getLength in interface DOMImplementationList
Returns:
An integer indicating the number of DOMImplementations.