FileDocCategorySizeDatePackage
DOMImplementationListImpl.javaAPI DocApache Xerces 3.0.12286Fri Sep 14 20:33:52 BST 2007org.apache.xerces.dom

DOMImplementationListImpl

public class DOMImplementationListImpl extends Object implements DOMImplementationList

This class implements the DOM Level 3 Core interface DOMImplementationList.

xerces.internal
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;
        }