FileDocCategorySizeDatePackage
DOMImplementationListImpl.javaAPI DocJava SE 5 API2021Fri Aug 26 14:55:42 BST 2005com.sun.org.apache.xerces.internal.dom

DOMImplementationListImpl

public class DOMImplementationListImpl extends Object implements DOMImplementationList

This class implements the DOM Level 3 Core interface DOMImplementationList.

author
Neil Delima, IBM
since
DOM Level 3 Core

Fields Summary
private Vector
fImplementations
Constructors Summary
public DOMImplementationListImpl()
Construct an empty list of DOMImplementations

        fImplementations = new Vector();
    
public DOMImplementationListImpl(Vector params)
Construct an empty list of DOMImplementations

        fImplementations = params;
    
Methods Summary
public intgetLength()
Returns the number of DOMImplementations in the list.

return
An integer indicating the number of DOMImplementations.

        return fImplementations.size();
    
public org.w3c.dom.DOMImplementationitem(int index)
Returns the indexth item in the collection.

param
index The index of the DOMImplemetation from the list to return.

        try {
            return (DOMImplementation) fImplementations.elementAt(index);
        } catch (ArrayIndexOutOfBoundsException e) {
            return null;
        }