FileDocCategorySizeDatePackage
DOMImplementationListImpl.javaAPI DocJava SE 6 API2045Tue Jun 10 00:22:36 BST 2008com.sun.org.apache.xerces.internal.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;
        }